write-warning
$warningPreference
$host.ui.writeWarningLine('text')
Warning
System.Management.Automation.PSDataStreams
write
Index