共用方式為


PSRunspaceCmdlet.VMName Property

Definition

Name of target virtual machine.

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

Property Value

String[]
Attributes

Applies to