RemoteFile Parameter (Get-SCP Cmdlet)
The name of the remote file to download.
Syntax
Get-SCP -RemoteFile string
Remarks
The RemoteFile is either an absolute file path, or a relative path based on the home path set by the server.
This value must include a filemask or filename. For instance:
get
-scp -server TestServer -user test -password test -remotefile MyFolder/File1.txt
Default Value
""
Parameter Position
1
Parameter Alias
Download