簡體   English   中英

在 Windows VM 實例上遠程運行腳本的最佳方法是什么?

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM