Windows desktop applications
Collapse the table of content
Expand the table of content
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 Shared Function CreateDefault2 As InitialSessionState
Return to top

Community Additions

© 2016 Microsoft