November 2018
Intermediate to advanced
566 pages
17h 15m
English
To enter Debug mode in PowerShell, use the Set-PsDebug cmdlet with the Step switch to step through the entire process, whatever the script is designed to do. At each step, we can peek into the objects to see what value they hold and perform diagnostics.
Running the Set-PsDebug cmdlet when in Debug mode with the Off parameter exits Debug mode. You can change the behavior of Debug mode from within the Debug mode itself by using other parameters such as Trace or Strict.
Read now
Unlock full access