PowerTip: Start PowerShell with No Profile

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

Comments (2)

  1. Eduardo L V T says:

    Hello, can I do this programatically on the script itself?