Windows Powershell代码发送用于手动WM启动的电子邮件通知 [英] Windows Powershell Code to Send Email Notification for Manual WM Start
本文介绍了Windows Powershell代码发送用于手动WM启动的电子邮件通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
早晨,
所以我有一个带有Windows PS代码的Azure Runbook帐户,当我的VM自动关闭并再次重新启动时,它会ping一封电子邮件-但是有人在我使用代码模板时会产生相同的结果吗? 手动启动和关闭所述虚拟机?
So I have an Azure Runbook account with Windows PS code which pings an email across when my VM automatically shuts down and starts back up again - but does anyone have a code template to produce the same result when I manually start and shut down said VM?
非常感谢
Todd&
Todd
推荐答案
查看 Runbook Gallery ,您可能会找到适合您情况的模板.
Check out the Runbook Gallery, you may find a template that fits your scenario.
希望这会有所帮助.
干杯.
这篇关于Windows Powershell代码发送用于手动WM启动的电子邮件通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文