InvokeCommandCommand.FilePath Property

Definition

The script block 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 override string FilePath { get; set; }
[System.Management.Automation.Alias(new System.String[] { "PSPath" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathSSHHost")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathSSHHostHash")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathComputerName", Position=1)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathContainerId", 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.Parameter(Mandatory=true, ParameterSetName="FilePathVMId", Position=1)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathVMName", Position=1)]
[System.Management.Automation.ValidateNotNull]
public override string FilePath { get; set; }
member this.FilePath : string with get, set
[<System.Management.Automation.Alias(new System.String[] { "PSPath" })>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathSSHHost")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathSSHHostHash")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathComputerName", Position=1)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathContainerId", 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.Parameter(Mandatory=true, ParameterSetName="FilePathVMId", Position=1)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathVMName", Position=1)>]
[<System.Management.Automation.ValidateNotNull>]
member this.FilePath : string with get, set
Public Overrides Property FilePath As String

Property Value

Attributes

Applies to