Share via


PSSessionConfiguration.GetInitialSessionState Method

Definition

Overloads

GetInitialSessionState(PSSenderInfo)

Derived classes must override this to supply an InitialSessionState to be used to construct a Runspace for the user.

GetInitialSessionState(PSSessionConfigurationData, PSSenderInfo, String)

GetInitialSessionState(PSSenderInfo)

Derived classes must override this to supply an InitialSessionState to be used to construct a Runspace for the user.

public:
 abstract System::Management::Automation::Runspaces::InitialSessionState ^ GetInitialSessionState(System::Management::Automation::Remoting::PSSenderInfo ^ senderInfo);
public abstract System.Management.Automation.Runspaces.InitialSessionState GetInitialSessionState (System.Management.Automation.Remoting.PSSenderInfo senderInfo);
abstract member GetInitialSessionState : System.Management.Automation.Remoting.PSSenderInfo -> System.Management.Automation.Runspaces.InitialSessionState
Public MustOverride Function GetInitialSessionState (senderInfo As PSSenderInfo) As InitialSessionState

Parameters

senderInfo
PSSenderInfo

User Identity for which this information is requested

Returns

Applies to

GetInitialSessionState(PSSessionConfigurationData, PSSenderInfo, String)

public:
 virtual System::Management::Automation::Runspaces::InitialSessionState ^ GetInitialSessionState(System::Management::Automation::Remoting::PSSessionConfigurationData ^ sessionConfigurationData, System::Management::Automation::Remoting::PSSenderInfo ^ senderInfo, System::String ^ configProviderId);
public virtual System.Management.Automation.Runspaces.InitialSessionState GetInitialSessionState (System.Management.Automation.Remoting.PSSessionConfigurationData sessionConfigurationData, System.Management.Automation.Remoting.PSSenderInfo senderInfo, string configProviderId);
abstract member GetInitialSessionState : System.Management.Automation.Remoting.PSSessionConfigurationData * System.Management.Automation.Remoting.PSSenderInfo * string -> System.Management.Automation.Runspaces.InitialSessionState
override this.GetInitialSessionState : System.Management.Automation.Remoting.PSSessionConfigurationData * System.Management.Automation.Remoting.PSSenderInfo * string -> System.Management.Automation.Runspaces.InitialSessionState
Public Overridable Function GetInitialSessionState (sessionConfigurationData As PSSessionConfigurationData, senderInfo As PSSenderInfo, configProviderId As String) As InitialSessionState

Parameters

sessionConfigurationData
PSSessionConfigurationData
senderInfo
PSSenderInfo
configProviderId
String

Returns

Applies to