ReceivePSSessionCommand.Name 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.
Name of PSSession object to receive data from.
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public:
property Platform::String ^ Name { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Name { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SessionName", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerSessionName")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriSessionName")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Name { get; set; }
member this.Name : string with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SessionName", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerSessionName")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriSessionName")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Name : string with get, set
Public Property Name As String
Property Value
- Attributes