Partager via


PSRunspaceCmdlet.ComputerName Property

Definition

Name of the computer for which the runspace needs to be returned.

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

Property Value

String[]
Attributes

Applies to