仅在周末关闭VM. -自动化帐户 [英] Shutting down VM's just for the weekend. - Automation Accounts

查看:68
本文介绍了仅在周末关闭VM. -自动化帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,有什么方法可以让我在周五营业时间关闭我的VM,并在周一早上通过自动帐户启动该备份?我看到的唯一选项是每日自动启动/关闭.

Hello, is there any way in which I can shut my VM down on the close of business Friday and start this back up o the Monday morning through Automated Accounts? The only options I'm seeing are the daily autostarts/shutdowns.

谢谢

推荐答案

您可以通过Automation Runbook来完成此操作,并创建两个OneTime计划.一个计划关闭电源,另一个计划打开电源.

You can do this through an Automation runbook, creating two OneTime schedules. One schedule to PowerOff, another to PowerOn.

runbook galary中有很多runbook示例可以为您做到这一点.

There are plenty of runbook examples in the runbook galary that can do this for you.

例如:https://gallery.technet.microsoft.com/scriptcenter/Shutdown-VMs-ASM-and-ARM-4166b862

For example: https://gallery.technet.microsoft.com/scriptcenter/Shutdown-VMs-ASM-and-ARM-4166b862


这篇关于仅在周末关闭VM. -自动化帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆