PSCmdlet Properties

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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

NameDescription
System_CAPS_pubpropertyCommandRuntime

Gets and sets the command runtime object that controls what happens when the cmdlet writes an object to the pipeline.(Inherited from Cmdlet.)

System_CAPS_pubpropertyCurrentPSTransaction

Gets the latest transaction started by running the Start-Transaction cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from Cmdlet.)

System_CAPS_pubpropertyEvents

Gets the event manager for the current session where the cmdlet is running This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyHost

Gets information about the host that is being used by the session where the cmdlet is running.

System_CAPS_pubpropertyInvokeCommand

Gets utility routines for executing scripts and creating script blocks.

System_CAPS_pubpropertyInvokeProvider

Gets provider information that is used to access a data store.

System_CAPS_pubpropertyJobManager

Gets or sets the job manager for the registered JobSourceAdapter objects.

System_CAPS_pubpropertyJobRepository

Get the active jobs available in the current session where the cmdlet is running. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyMyInvocation

Gets invocation information about the cmdlet.

System_CAPS_pubpropertyPagingParameters

If the cmdlet declares paging support (via SupportsPaging), then PagingParameters property contains arguments of the paging parameters.

Otherwise PagingParameters property is null.

System_CAPS_pubpropertyParameterSetName

Gets the name of the parameter set that is used by the cmdlet.

System_CAPS_pubpropertySessionState

Gets information about the current state of the current session where the cmdlet is running.

System_CAPS_pubpropertyStopping

Gets an indicator that the pipeline is stopping. The pipeline can be stopped for numerous reasons, such as when the user has entered the key combination CTRL+C, a terminating error has occurred, the hosting application requested a stop, and so on. (Inherited from Cmdlet.)

Return to top

Community Additions

ADD
Show: