InvocationInfo.ScriptName Property

Definition

The name of the script containing the cmdlet.

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

Property Value

The script name or "" if there was no script.

Applies to