I'm looking to automate deploying content via RDP. The current setup involves manually RDPing to the machine, copying the file to it, and moving it into place. Once on the remote machine, I can easily script massaging the content into place, but how do I script establishing the RDP session and kicking off the remote script?

有帮助吗?

解决方案

It appears that Remote Desktop can only be used interatively. Powershell Remoting seems to accomplish the goal though.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top