![](/img/trans.png)
[英]PowerShell script with parameter for Windows VM instance on Google Cloud Platform
[英]What is the best way to run a script remotely on Windows VM instance?
例如,在 Linux VM 实例中,我们可以使用gcloud beta ssh
命令通过使用 gcp 凭据下载 ssh 密钥来远程运行命令
同样,我正在寻找在 Windows VM 实例上远程运行脚本而不对实例执行 RDP。
有人可以指出这个问题的解决方案吗?
If you have a Windows workstation with PowerShell, you can connect to your Windows Server instances through a remote PowerShell session. 此过程类似于使用 SSH 连接到 Linux 实例。 请查看“使用 PowerShell 终端连接到 Windows 实例”
https://cloud.google.com/compute/docs/instances/connecting-advanced#powershell
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.