Hi
I'm trying to use PowerShell v2 to administer a Windows Server 2008 r2
server (I'm trying to move my web hosting from an OpenBSD/Apache box
to IIS7 on W2K8r2). I'm looking for the equivalent of rsync or scp
(secure copy) to deploy files from my development environment into
the new server. The server is Internet-facing so I want to run the
minimum services required and plug up the firewall to help reduce the
attack surface, i.e. no ftp and no file sharing. I was hoping that
PowerShell Remoting or WinRS would be the answer (or it would be once
I managed to get my configuration issues sorted).
I guess the larger question is, without file sharing (i.e. no UNC
paths), BITS, ftp, how do I deploy files from Vista to a (non-domain)
W2K8r2 server? It seems weird that I can use MMC remotely to modify
the firewall, view the event log, start/stop services, etc but I can't
get a file from a to b. Given I already have a secure remote PowerShell
connection, I had kind of assumed (hoped) that there would be a file transfer
cmdlet that allowed some form of secure file copy between the endpoints.
Hopefully I'm just being dense. Please point me in the right direction.
Thanks
- Dave