InvocationInfoWrapper.ScriptName property

Gets the name of the script where the command is invoked.

public string ScriptName { get; }

See Also