如果没有活动用户,如何使用powershellscript计划Azure VM打开/关闭?

时间:2016-10-20 06:36:02

标签: azure azure-virtual-machine azure-powershell

我看过一些关于使用powershell脚本打开和关闭azure vm的问题,例如这个powershell脚本关闭Azure VM https://gallery.technet.microsoft.com/Stop-Azure-Classic-VMs-7a4ae43e#content。 但我无法确定是否可以在x时关闭Azure VM,但只能关闭没有活动用户的Azure VM。如果有活跃的用户在下个小时再尝试这样的话。

是否可以使用schedueled PowerShell脚本打开/关闭Azure VM,并且只关闭没有活动用户的计算机?在那种情况下,怎么样?

0 个答案:

没有答案
相关问题