PowerTip: Start PowerShell with No Profile
Summary: Start Windows PowerShell with no profile to troubleshoot scripts.
How can I use Windows PowerShell to troubleshoot a script that sometimes works and sometimes does not?
Look for any external dependencies by starting Windows PowerShell with no profile.
Use Start/Run, and in the dialog box, type: