InvocationInfoWrapper.PSScriptRoot property

Gets the script root path of the PowerShell script being executed.

public string PSScriptRoot { get; }

See Also