ReceivePSSessionCommand.ComputerName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computer name to receive session data from.
public:
property System::String ^ ComputerName { System::String ^ get(); void set(System::String ^ value); };
public:
property Platform::String ^ ComputerName { Platform::String ^ get(); void set(Platform::String ^ value); };
public string ComputerName { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Cn" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerSessionName", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerInstanceId", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public 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="ComputerSessionName", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerInstanceId", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ComputerName : string with get, set
Public Property ComputerName As String
Property Value
- Attributes