PowerShell Logo Small

Get-ClusterVMMonitoredItem



This is the built-in help made by Microsoft for the command 'Get-ClusterVMMonitoredItem', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets the list of services and events currently being monitored in the virtual machine.

SYNTAX


Get-ClusterVMMonitoredItem [[-VirtualMachine] <String>] [-Cluster <String>] [-InputObject <PSObject>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-ClusterVMMonitoredItem cmdlet gets the list of services and events currently being monitored in the virtual machine. If one of those services fails or one of the
events occurs, then the system responds by taking an action based on the failover configuration for the virtual machine resource. For example, the configuration might
specify that the virtual machine be restarted.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321043
Add-ClusterVMMonitoredItem
Remove-ClusterVMMonitoredItem
Reset-ClusterVMMonitoredState

REMARKS

<

Examples


Example 1

PS C:\>Get-Cluster –Name Cluster1 | Get-ClusterVMMonitoredItem –VirtualMachine vm1
Name
----
Microsoft-Windows-FailoverClustering-Manager+Admin,Microsoft-Windows-FailoverClustering-Manager,4708
Spooler



This example returns the services and events being monitored in the virtual machine named vm1 on the cluster named Cluster1.