PSInvocationSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Settings to control command invocation.
public ref class PSInvocationSettings sealed
public sealed class PSInvocationSettings
type PSInvocationSettings = class
Public NotInheritable Class PSInvocationSettings
- Inheritance
-
PSInvocationSettings
Constructors
PSInvocationSettings() |
Default Constructor. |
Properties
AddToHistory |
Boolean which tells if the command is added to the history of the Runspace the command is executing in. By default this is false. |
ApartmentState |
ApartmentState of the thread in which the command is executed. |
ErrorActionPreference |
Determines how errors should be handled during batch command execution. |
ExposeFlowControlExceptions |
When true, allows an unhandled flow control exceptions to propagate to a caller invoking the PowerShell object. |
FlowImpersonationPolicy |
Used by Powershell remoting infrastructure to flow identity from calling thread to Pipeline Execution Thread. |
Host |
Host to use with the Runspace when the command is executed. |
RemoteStreamOptions |
Options for the Error, Warning, Verbose and Debug streams during remote calls. |