Share via


PSExecutionCmdlet.FilePath Property

Definition

The file containing the script that the user has specified in the cmdlet. This will be converted to a powershell before its actually sent to the remote end.

public:
 virtual property System::String ^ FilePath { System::String ^ get(); void set(System::String ^ value); };
public:
 virtual property Platform::String ^ FilePath { Platform::String ^ get(); void set(Platform::String ^ value); };
public virtual string FilePath { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathComputerName", Position=1)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathRunspace", Position=1)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathUri", Position=1)]
[System.Management.Automation.ValidateNotNull]
public virtual string FilePath { get; set; }
member this.FilePath : string with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathComputerName", Position=1)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathRunspace", Position=1)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathUri", Position=1)>]
[<System.Management.Automation.ValidateNotNull>]
member this.FilePath : string with get, set
Public Overridable Property FilePath As String

Property Value

Attributes

Applies to