Auto restarting the VMMS and SCVMMAgent services using OpsMgr service monitoring and recoveries (#SCVMM, #SCOM, #SYSCTR)

In my lab environment I am running Windows Server 2012 Hyper-V systems and managing them with System Center Virtual Machine Manager 2012 SP1 Beta. I had been having issues with loss of connectivity to the Hyper-V hosts and my VMM service. I found that the SCVMMAgent and vmms services were failing occasionally and then communication…