Powershell - Exception

Windows Powershell Menu

Powershell - Exception

try
{
# Do soemthing
}
catch
{
Write-Error "Error!"
Write-Error "Message: $_.message"
Exit(1)
}







Share this page:
Follow us:
Task Runner