CommonParameters.WarningVariable Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.