Tips

If you are new to PowerShell, run these two commands to assist in debugging your scripts.

Set-StrictMode -Version 2
$ErrorActionPreference = "Stop"

Last updated