PowerTip: Start PowerShell with No Profile

Doctor Scripto

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

0 comments

Discussion is closed.

Feedback usabilla icon