PSExecutionCmdlet.FilePath Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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