PSExecutionCmdlet.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 override string[] VMName { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathVMName", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="VMName", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public override string[] VMName { get; set; }
member this.VMName : string[] with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathVMName", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="VMName", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.VMName : string[] with get, set
Public Overrides Property VMName As String()

Property Value

String[]
Attributes

Applies to