Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Easy Way to Troubleshoot a PowerShell Script

$
0
0

Summary: Learn the easy way to troubleshoot a Windows PowerShell script.

  I receive an error every time I run my Windows PowerShell script. What is an easy way to troubleshoot the script in the
Windows PowerShell ISE?

  Highlight the line of code in the script to select it, either with the mouse, or by using keyboard shortcuts, and then press F-8 to execute only the selected line of code. If no errors arise, select the next line of code and repeat the process until an error arises.

 


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>