InternalCommand.CommandOrigin Property

Definition

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

C++
public:
 property System::Management::Automation::CommandOrigin CommandOrigin { System::Management::Automation::CommandOrigin get(); };

Property Value

Applies to

Produto Versións
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0