Contact Info

Crumbtrail

ActiveXperts.com » 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 »

Write-Warning

Short description
Writes a warning message.

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

Description
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.