Closed DomBros closed 7 years ago
change 'Get-Variable -Name PSSenderInfo -ErrorAction SilentlyContinue' to 'Test-Path variable:PSSenderInfo' because when Set-StrictMode -version set to latest $error contains many errors which should be silently skkiped
added '-Path'
change 'Get-Variable -Name PSSenderInfo -ErrorAction SilentlyContinue' to 'Test-Path variable:PSSenderInfo' because when Set-StrictMode -version set to latest $error contains many errors which should be silently skkiped