Utility to copy local file to remote computer using PowerShell Remoting
- Copy any file to remote computer
- Support PowerShell Remoting Sessions
Right now tool is pretty dumb, so it loads content of the file at least two times on client and then two times on server. This will be improved leter.
To copy file Tests.ps1 to the Docmuents folder of the User01 on computer Comp1
copy-remoteItem Tests.ps1 -Credential "Comp1\User01" -ComputerName "Comp1"
You can also use sessions
$session = new-pssession -Credential "Comp1\User01" -ComputerName "Comp1"
copy-remoteitem Tests.ps1 -Session $session
With PsGet run:
Install-Module -ModuleUrl https://raw.github.com/chaliy/psremotefiles/master/PsRemoteFiles/PsRemoteFiles.psm1
Roadmap is not sorted in any order. This is just list what is think should be done.
- Transfer files by chancks
- Specify path on remote computer
- Add more remote connection options
- Add pregress indication
- Add support to download files from remote computer