RemoteFile Parameter (Get-SCP Cmdlet)
The name of the remote file to download.
Get-SCP -RemoteFile string
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.txtThe above code will download File1.txt in the MyFolder folder.