가상 컴퓨터 관리 서비스 복구

Microsoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceRestart (Recovery)

가상 컴퓨터 관리 서비스를 다시 시작합니다.

Knowledge Base article:

요약

가상 컴퓨터 관리 서비스를 다시 시작합니다.

Element properties:

TargetMicrosoft.Windows.HyperV.2016.ServerRole
MonitorMicrosoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceMonitor
Reset MonitorFalse
RemotableTrue
Timeout300
CategoryMaintenance
EnabledonEssentialMonitoring
AccessibilityInternal

Member Modules:

ID Module Type TypeId RunAs 
RestartService WriteAction Microsoft.Windows.ServiceControlManager.StartService System.PrivilegedMonitoringAccount

Source Code:

<Recovery ID="Microsoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceRestart" Accessibility="Internal" Enabled="onEssentialMonitoring" Target="HVDisc!Microsoft.Windows.HyperV.2016.ServerRole" Monitor="Microsoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceMonitor" ResetMonitor="false" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Maintenance</Category>
<WriteAction ID="RestartService" TypeID="Windows!Microsoft.Windows.ServiceControlManager.StartService" RunAs="System!System.PrivilegedMonitoringAccount">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>vmms</ServiceName>
</WriteAction>
</Recovery>