[powershell] Redirecting output to $null in PowerShell, but ensuring the variable remains set