fregas
fregas

Reputation: 3260

Powershell script to copy files to remote server

I'd like to have files on a local machine and copy them to a remote machine on the internet. For this reason, I can't use UNC files shares. I'd also like to avoid using MSDeploy or FTP if possible. Does powershell have an easy way to copy a bunch of files to a remote server?

Upvotes: 1

Views: 5428

Answers (2)

Fred Sobotka
Fred Sobotka

Reputation: 5332

When the remote server is a Linux or UNIX system, I use PSCP.EXE, the Windows SCP client created by the developer of Putty. I also use Puttygen to create a key pair that can be used instead of interactive password authentication.

Upvotes: 0

stej
stej

Reputation: 29479

Look at BitsTransfer module, might help you - http://technet.microsoft.com/en-us/library/dd819420.aspx

Upvotes: 1

Related Questions