Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Write-Warning

Write-Warning - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Writes a warning message.

Write-Warning [-Message] <string> [<CommonParameters>]

The Write-Warning cmdlet writes a warning message to the Windows PowerShell host. The response to the warning depen
ds on the value of the user's $WarningPreference variable and the use of the WarningAction common parameter.