NetCmdlets 2016
  • License
  • NetCmdlets 2016
    Questions / Feedback?

    RemoteFile Parameter (Send-SCP Cmdlet)

    The remote file to save to.

    Syntax

    Send-SCP -RemoteFile string

    Remarks

    RemoteFile is the name of the file on the server to which the LocalFile will be saved. It is either an absolute file path, or a relative path based on the servers current path.

    To use the existing filename specified by LocalFile, set RemoteFile to an absolute or relative path ending with a "/". For instance:

    send-scp -server TestServer -user test -password test -remotefile MyFolder/MySubFolder/ -localfile c:\MyFile.txt
    The above code will upload a file called "MyFile.txt" to "MyFolder/MySubFolder" on the server.

    Default Value

    ""

     
     
    Copyright (c) 2019 /n software inc. - All rights reserved.
    NetCmdlets 2016 - Version 16.0 [Build 7240]