Command Properties

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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

NameDescription
System_CAPS_pubpropertyCommandOrigin

Gets or sets the command origin for this command. A command origin of 'Runspace' (the default) applies Runspace restrictions to this command. A command origin of 'Internal' does not apply runspace restrictions.

System_CAPS_pubpropertyCommandText

Gets the command name or script of the Command object.

System_CAPS_pubpropertyIsEndOfStatement

Checks if the current command marks the end of a statement (see PowerShell.AddStatement())

System_CAPS_pubpropertyIsScript

Gets a Boolean value that indicates whether the Command object contains a script.

System_CAPS_pubpropertyMergeUnclaimedPreviousCommandResults

Gets and sets PipelineResultTypes constants that specify what output streams are merged for previous unclaimed command results.

System_CAPS_pubpropertyParameters

Gets the parameters for the command.

System_CAPS_pubpropertyUseLocalScope

Gets a Boolean value that indicates whether the Command object should be run in its own local scope.

Return to top

Community Additions

ADD
Show: