AddComputerCommand.ComputerName Property

Gets the target computer names.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)

Usage

'Usage
Dim instance As AddComputerCommand
Dim value As String()

value = instance.ComputerName

instance.ComputerName = value

Syntax

'Declaration
<ValidateNotNullOrEmptyAttribute> _
<ParameterAttribute(ValueFromPipeline:=True, ValueFromPipelineByPropertyName:=True)> _
Public Property ComputerName As String()
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute(ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)] 
public string[] ComputerName { get; set; }
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute(ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)] 
public:
property array<String^>^ ComputerName {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
/** @property */
public String[] get_ComputerName ()

/** @property */
public void set_ComputerName (String[] value)
public function get ComputerName () : String[]

public function set ComputerName (value : String[])

Property Value

Returns String.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

AddComputerCommand Class
AddComputerCommand Members
Microsoft.PowerShell.Commands Namespace