Appendix B: Scripts

Applies To: System Center 2012 - Operations Manager

The following table describes the scripts that are included in the Hyper-V Monitoring Pack for Windows Server 2012.

Script name Workflow that uses this script Functionality

DiscoverHyperV2012ServerRole.vbs

Hyper-V 2012 Server Role Discovery

Discovers the Hyper-V role.

DiscoverHyperV2012VirtualMachine.vbs

Hyper-V 2012 Virtual Machine Discovery

Discovers Hyper-V virtual machines and virtual hardware components.

DiscoverHyperVVirtualNetworkContains NetworkAdapter.vbs

Hyper-V 2012 Virtual Network Relationship Discovery

Discovers the containment relationship between the virtual network and the network adapter.

Note

On computers running a Server Core installation of Windows Server 2012, the relationship between virtual external networks and network adapters will not be discovered.

DiscoverHyperVVirtualNetworks.vbs

Hyper-V 2012 Virtual Network Discovery

Discovers the virtual external and internal networks.

GetDiskPartitionSpace.vbs

Virtual Drive Free Space Monitor

Monitors the free space remaining on the logical disk that contains the virtual drive.

RemoteFX.ps1

RemoteFX Monitors

Checks RemoteFX capability of the Hyper-V host by using the Virtualization WMI provider.

ReplicaFirewallRules.ps1

Hyper-V 2012 Replica Windows Firewall Rule Monitor

Checks for Replica Windows Firewall Rules presence.

ReplicaServiceHealth.ps1

Hyper-V 2012 Replica Network Listener

Checks for Replica Service Health by using the Virtualization WMI provider.

VMReplicationHealth.ps1

Hyper-V 2012 Replication Monitors

Queries the Virtualization WMI provider for Replication Health of virtual machines and the Hyper-V host.