InvokeCommandCommand.SessionOption 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.
Extended Session Options for controlling the session creation. Use "New-WSManSessionOption" cmdlet to supply value for this parameter.
public:
virtual property System::Management::Automation::Remoting::PSSessionOption ^ SessionOption { System::Management::Automation::Remoting::PSSessionOption ^ get(); void set(System::Management::Automation::Remoting::PSSessionOption ^ value); };
public override System.Management.Automation.Remoting.PSSessionOption SessionOption { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathUri")]
[System.Management.Automation.Parameter(ParameterSetName="Uri")]
public override System.Management.Automation.Remoting.PSSessionOption SessionOption { get; set; }
member this.SessionOption : System.Management.Automation.Remoting.PSSessionOption with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathUri")>]
[<System.Management.Automation.Parameter(ParameterSetName="Uri")>]
member this.SessionOption : System.Management.Automation.Remoting.PSSessionOption with get, set
Public Overrides Property SessionOption As PSSessionOption
Property Value
- Attributes