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.
PowerShell.Create Method (InitialSessionState)
Initializes a new instance of the PowerShell class with an empty pipeline and an initial session state; a script or command must be added before invoking this instance. Introduced in Windows PowerShell 3.0.
Namespace: System.Management.Automation Assembly: System.Management.Automation (in System.Management.Automation.dll)