PowerTip: Start PowerShell with No Profile

PowerTip: Start PowerShell with No Profile

  • Comments 3
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • thank you

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