Share via


GetProcessCommand.Name Property

Definition

Has the list of process names on which to this command will work.

public:
 property cli::array <System::String ^> ^ Name { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 property Platform::Array <Platform::String ^> ^ Name { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] Name { get; set; }
[System.Management.Automation.Alias(new System.String[] { "ProcessName" })]
[System.Management.Automation.Parameter(ParameterSetName="Name", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="NameWithUserName", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string[] Name { get; set; }
member this.Name : string[] with get, set
[<System.Management.Automation.Alias(new System.String[] { "ProcessName" })>]
[<System.Management.Automation.Parameter(ParameterSetName="Name", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="NameWithUserName", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Name : string[] with get, set
Public Property Name As String()

Property Value

String[]
Attributes

Applies to