PPOSHGROUP / PPoShTools

MIT License
5 stars 0 forks source link

Test variable PSSenderInfo exist #6

Closed DomBros closed 7 years ago

DomBros commented 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

DomBros commented 7 years ago

added '-Path'