Export (0) Print
Expand All

PSCmdlet Properties

  Name Description
public property CommandOrigin  Gets the origin of the command. The command can be invoked within a runspace or it could be an external request (such as invoking the command from the command line). This property is introduced in Windows PowerShell 2.0. (Inherited from InternalCommand)
public property CommandRuntime  Gets and sets the command runtime object that controls what happens when the cmdlet writes an object to the pipeline. (Inherited from Cmdlet)
public property CurrentPSTransaction  Gets the latest transaction started by running the Start-Transaction cmdlet. This property is introduced in Windows PowerShell 2.0. (Inherited from Cmdlet)
public property Events Gets the event manager for the current session where the cmdlet is running This property is introduced in Windows PowerShell 2.0.
public property Host Gets information about the host that is being used by the session where the cmdlet is running.
public property InvokeCommand Gets utility routines for executing scripts and creating script blocks.
public property InvokeProvider Gets provider information that is used to access a data store.
public property JobManager Gets or sets the job manager for the registered JobSourceAdapter objects.
public property JobRepository Get the active jobs available in the current session where the cmdlet is running. This property is introduced in Windows PowerShell 2.0.
public property MyInvocation Gets invocation information about the cmdlet.
public property PagingParameters If the cmdlet declares paging support (via SupportsPaging), then PagingParameters property contains arguments of the paging parameters. Otherwise PagingParameters property is null.
public property ParameterSetName Gets the name of the parameter set that is used by the cmdlet.
public property SessionState Gets information about the current state of the current session where the cmdlet is running.
public property Stopping  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)

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft