Suppress output
This commit is contained in:
@@ -11,7 +11,7 @@ if ($ExecutionContext.SessionState.LanguageMode.value__ -ne 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
[System.AppDomain]::CurrentDomain.GetAssemblies(); [System.Math]::Sqrt(144)
|
[void][System.AppDomain]::CurrentDomain.GetAssemblies(); [void][System.Math]::Sqrt(144)
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red
|
Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red
|
||||||
|
Reference in New Issue
Block a user