Search notes:
PowerShell cmdLet write-error
See also
$host.ui.writeErrorLine('text')
The
cmdLet verb
write
Powershell command noun: error
Error handling in PowerShell
Index