InternalCommand InternalCommand InternalCommand Class

Definition

Defines members used by Cmdlets. All Cmdlets must derive from Cmdlet.

[System.Diagnostics.DebuggerDisplay("Command = {commandInfo}")]
public abstract class InternalCommand
type InternalCommand = class
Public MustInherit Class InternalCommand
Inheritance
InternalCommandInternalCommandInternalCommand
Derived
Attributes

Remarks

Only use InternalCommand as a subclass of Cmdlet. Do not attempt to create instances of InternalCommand independently, or to derive other classes than Cmdlet from InternalCommand.

Properties

CommandOrigin CommandOrigin CommandOrigin

This property tells you if you were being invoked inside the runspace or if it was an external request.

Applies to