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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
It appears that Remote Desktop can only be used interatively. Powershell Remoting seems to accomplish the goal though.