InvocationInfo.PSCommandPath 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 the full path to the command from where you were being invoked.
public:
property System::String ^ PSCommandPath { System::String ^ get(); };
public:
property Platform::String ^ PSCommandPath { Platform::String ^ get(); };
public string PSCommandPath { get; }
member this.PSCommandPath : string
Public ReadOnly Property PSCommandPath As String