Quantcast
Channel: Scripting Blog
Viewing all articles
Browse latest Browse all 2129

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 2129

Trending Articles