Share via


GetWinEventCommand.ComputerName Property

Definition

ComputerName parameter.

public:
 property System::String ^ ComputerName { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ ComputerName { Platform::String ^ get(); void set(Platform::String ^ value); };
public string ComputerName { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Cn" })]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="ListProviderSet")]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="GetProviderSet")]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="ListLogSet")]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="GetLogSet")]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="HashQuerySet")]
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="XmlQuerySet")]
[System.Management.Automation.ValidateNotNull]
public string ComputerName { get; set; }
member this.ComputerName : string with get, set
[<System.Management.Automation.Alias(new System.String[] { "Cn" })>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="ListProviderSet")>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="GetProviderSet")>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="ListLogSet")>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="GetLogSet")>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="HashQuerySet")>]
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", HelpMessageResourceId="ComputerNameParamHelp", ParameterSetName="XmlQuerySet")>]
[<System.Management.Automation.ValidateNotNull>]
member this.ComputerName : string with get, set
Public Property ComputerName As String

Property Value

Attributes

Applies to