InvocationInfo.PSScriptRoot Property

Definition

This property tells you the directory from where you were being invoked.

public:
 property System::String ^ PSScriptRoot { System::String ^ get(); };

Property Value

Applies to