Information
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.

CommandInvocationIntrinsics Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides access to methods that cmdlets can use to build and run scripts.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.CommandInvocationIntrinsics

Public Class CommandInvocationIntrinsics

NameDescription
System_CAPS_pubpropertyCommandNotFoundAction

Gets or sets the event handler that is called when a command is not found. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyHasErrors

Gets or sets a value that indicates whether an error occurred while executing the cmdlet. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyPostCommandLookupAction

Gets or sets the event handler that is called after the command lookup is done but before the event object is returned to the caller, to allow other events, such as interning scripts, to work correctly. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyPreCommandLookupAction

Gets or sets the event handler that is called before the command lookup is done. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExpandString(String)

Expands a specified string.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetCmdlet(String)

Retrieves information about the specified cmdlet. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodGetCmdletByTypeName(String)

Retrieves information about a cmdlet by using the name of the cmdlet's implementing type. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodGetCmdlets()

Retrieves a list of all cmdlets available to the script. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodGetCmdlets(String)

Retrieves a list of all cmdlets that are available to the script and that match a specific pattern. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodGetCommand(String, CommandTypes)

Retrieves information about a specific command available to the script. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodGetCommand(String, CommandTypes, Object())

Returns a command info for a given command name and type, using the specified arguments to resolve dynamic parameters.

System_CAPS_pubmethodGetCommandName(String, Boolean, Boolean)

Retrieves the names of the commands that are available to the script. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodGetCommands(String, CommandTypes, Boolean)

Retrieves Windows PowerShell commands based on name and command type information. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInvokeScript(Boolean, ScriptBlock, IList, Object())

Runs a script synchronously, with or without a new scope.

System_CAPS_pubmethodInvokeScript(SessionState, ScriptBlock, Object())

Runs a script synchronously by using a specified runspace.

System_CAPS_pubmethodInvokeScript(String)

Runs a script synchronously.

System_CAPS_pubmethodInvokeScript(String, Boolean, PipelineResultTypes, IList, Object())

Runs a script synchronously by using additional execution options.

System_CAPS_pubmethodInvokeScript(String, Object())

Runs a script synchronously by using additional arguments. This method is introduced in Windows PowerShell 2.0.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodNewScriptBlock(String)

Creates a script block based on a specified string.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: