July 28th, 2014

PowerTip: Start PowerShell with No Profile

Doctor Scripto
Scripter

Summary: Start Windows PowerShell with no profile to troubleshoot scripts.

Hey, Scripting Guy! Question How can I use Windows PowerShell to troubleshoot a script that sometimes works and sometimes does not?

Hey, Scripting Guy! Answer Look for any external dependencies by starting Windows PowerShell with no profile.
           Use Start/Run, and in the dialog box, type:

PowerShell –noprofile

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.