Condividi tramite


GetPSSessionCommand.Name Property

Definition

Session names to filter on.

public:
 virtual property cli::array <System::String ^> ^ Name { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 virtual property Platform::Array <Platform::String ^> ^ Name { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public override string[] Name { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")]
[System.Management.Automation.Parameter(ParameterSetName="ContainerId")]
[System.Management.Automation.Parameter(ParameterSetName="VMId")]
[System.Management.Automation.Parameter(ParameterSetName="VMName")]
[System.Management.Automation.Parameter(ParameterSetName="Name", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public override string[] Name { get; set; }
member this.Name : string[] with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")>]
[<System.Management.Automation.Parameter(ParameterSetName="ContainerId")>]
[<System.Management.Automation.Parameter(ParameterSetName="VMId")>]
[<System.Management.Automation.Parameter(ParameterSetName="VMName")>]
[<System.Management.Automation.Parameter(ParameterSetName="Name", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Name : string[] with get, set
Public Overrides Property Name As String()

Property Value

String[]
Attributes

Applies to