PSInvocationSettings Members

Specifies the settings that can be used by the PowerShell object when the pipeline is invoked. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0.

The following tables list the members exposed by the PSInvocationSettings type.

  Name Description
  PSInvocationSettings Initializes a new instance of the PSInvocationSettings class. This constructor is introduced by Windows PowerShell 2.0.
Top

  Name Description
public property AddToHistory Gets or sets a value that indicates whether the command that is running is added to the history of the runspace where the pipeline is invoked. This property is introduced in Windows PowerShell 2.0.
public property ApartmentState Gets or sets the apartment state of the thread used in the remote call. This property is introduced in Windows PowerShell 2.0.
public property ErrorActionPreference Gets or sets how errors should be handled during batch command execution. Introduced in Windows PowerShell 3.0.
public property ExposeFlowControlExceptions When true, allows an unhandled flow control exceptions to propagate to a caller invoking the PowerShell object.
public property FlowImpersonationPolicy Gets or sets a value that indicates whether the identity should be transferred from the calling thread to the pipeline execution thread. This property is used by the Windows PowerShell remoting infrastructure. Introduced in Windows PowerShell 3.0.
public property Host Gets or sets the host used when invoking the pipeline. This property is introduced in Windows PowerShell 2.0.
public property RemoteStreamOptions Gets or sets the data streams that will be updated with the invocation information for remote calls. This property is introduced in Windows PowerShell 2.0.
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToString  (Inherited from Object)
Top

(see also Extension Methods)
 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodMemberwiseClone  (Inherited from Object)
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show: