Updated: April 27, 2016
Applies To: Windows PowerShell
Represents an instance of a Windows PowerShell process. This class cannot be inherited. Introduced in Windows PowerShell 3.0.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Initializes a new instance of theclass using the default constructor. Introduced in Windows PowerShell 3.0.
|PowerShellProcessInstance(Version, PSCredential, ScriptBlock, Boolean)|
Initializes a new instance of theclass using the Windows PowerShell version, the user credential, and an initialization script. Introduced in Windows PowerShell 3.0.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.