Restart a service from an Azure Alert using Log Analytics and Azure Automation

This sample automation runbook is designed to take the payload from an Azure Alert based on a Log Analytics query for stopped services. It leverages the change tracking capabilities in Azure Automation to identify services that are stopped in your environment.

5 Star
1,408 times
Add to favorites
Windows Azure
E-mail Twitter Digg Facebook
Sign in to ask a question

  • But how would this script will perform the admiistrative task on HRW
    1 Posts | Last post December 03, 2018
    • But how would this script will perform the administrative task on HRW.
      This might fail with error :- 
      Access is denied. For 
      more information, see the about_Remote_Troubleshooting Help topic.
          + CategoryInfo          : OpenError: (MachineName:String) [], PSRemotingTransportException
          + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken