![](/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.