Sdílet prostřednictvím


StartTranscriptCommand.Path Property

Definition

The name of the file in which to write the transcript. If not provided, the file indicated by the variable $TRANSCRIPT is used. If neither the filename is supplied or $TRANSCRIPT is not set, the filename shall be $HOME/My Documents/PowerShell_transcript.YYYYMMDDmmss.txt.

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ Path { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Path { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ByPath", Position=0)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Path { get; set; }
member this.Path : string with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ByPath", Position=0)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Path : string with get, set
Public Property Path As String

Property Value

Attributes

Applies to