CommonParameters.WarningVariable Property

Definition

Gets or sets the value of the WarningVariable parameter for the cmdlet.

public:
 property System::String ^ WarningVariable { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ WarningVariable { Platform::String ^ get(); void set(Platform::String ^ value); };
public string WarningVariable { get; set; }
[System.Management.Automation.Alias(new System.String[] { "wv" })]
[System.Management.Automation.Parameter]
public string WarningVariable { get; set; }
member this.WarningVariable : string with get, set
[<System.Management.Automation.Alias(new System.String[] { "wv" })>]
[<System.Management.Automation.Parameter>]
member this.WarningVariable : string with get, set
Public Property WarningVariable As String

Property Value

Attributes

Remarks

This parameter tells the command which variable to populate with the warnings. Use +varname to append to the variable rather than clearing it.

Applies to