Partager via


InvocationInfo.PSScriptRoot Property

Definition

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

public:
 property System::String ^ PSScriptRoot { System::String ^ get(); };
public:
 property Platform::String ^ PSScriptRoot { Platform::String ^ get(); };
public string PSScriptRoot { get; }
member this.PSScriptRoot : string
Public ReadOnly Property PSScriptRoot As String

Property Value

Applies to