copying files from one windows server to another

Posted by Saju Pillai on Stack Overflow See other posts from Stack Overflow or by Saju Pillai
Published on 2012-04-27T08:26:37Z Indexed on 2012/10/28 5:02 UTC
Read the original article Hit count: 155

I have to copy a file from a windows 2008 server to one or more windows 2008 servers. I have accounts on the target machines with enough privileges to let me use powershell remoting and use wmi. The remote machines do not run ftp, ssh or similar file transfer mechanisms. I am not allowed to install software or run new services on the target server. I can run services on the source server.

The file copy action must be initiated from the source server. i.e. I cannot manually logon to the target machines and initiate the copy - though an automated way to do this is acceptable.

Is it possible to use WMI or PowerShell Remoting to push or pull the file from the source to the target ? Is it possible to invoke some sort of built in http client or invoke the BITS service/agent on the remote servers to pull files from the source server ?

Other suggestions please.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about wmi