Partager via


EnterPSSessionCommand.VMName Property

Definition

Virtual machine name.

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

Property Value

Attributes

Applies to