PSCmdlet.MyInvocation Property

Definition

Contains information about the identity of this cmdlet and how it was invoked.

C++
public:
 property System::Management::Automation::InvocationInfo ^ MyInvocation { System::Management::Automation::InvocationInfo ^ get(); };

Property Value

Applies to

Производ Верзије
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0