The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InitialSessionState.CreateDefault2 Method ()


Updated: April 27, 2016

Applies To: Windows PowerShell

Creates a default Windows PowerShell session with the default cmdlets, providers, etc., that are loaded by the modules listed in the Modules property. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation.Runspaces
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public static InitialSessionState CreateDefault2()
Return to top

Community Additions