InternalCommand.CommandOrigin Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This property tells you if you were being invoked inside the runspace or if it was an external request.
public:
property System::Management::Automation::CommandOrigin CommandOrigin { System::Management::Automation::CommandOrigin get(); };
public System.Management.Automation.CommandOrigin CommandOrigin { get; }
member this.CommandOrigin : System.Management.Automation.CommandOrigin
Public ReadOnly Property CommandOrigin As CommandOrigin