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

PowerTip: Enable Script Tracing in PowerShell Functions

$
0
0

Summary: Enable script tracing into and out of Windows PowerShell functions.

Hey, Scripting Guy! Question How can I trace my script execution into and out of Windows PowerShell functions?

Hey, Scripting Guy! Answer Use the Set-PSDebug cmdlet and set a trace level of 2:

Set-PSDebug  -Trace 2


Viewing all articles
Browse latest Browse all 3333

Trending Articles



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