Get-SCPROMonitorConfiguration

Gets a PRO monitor configuration object for a specified scope.

Syntax

Get-SCPROMonitorConfiguration -Cloud <Cloud> [-PROMonitor <PROMonitor>] [-VMMServer <ServerConnection>]
 [<CommonParameters>]
Get-SCPROMonitorConfiguration -ComputerTier <ComputerTier> [-PROMonitor <PROMonitor>]
 [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCPROMonitorConfiguration [-PROMonitor <PROMonitor>] -Service <Service> [-VMMServer <ServerConnection>]
 [<CommonParameters>]
Get-SCPROMonitorConfiguration [-PROMonitor <PROMonitor>] -VM <VM> [-VMMServer <ServerConnection>]
 [<CommonParameters>]
Get-SCPROMonitorConfiguration [-PROMonitor <PROMonitor>] -VMHost <Host> [-VMMServer <ServerConnection>]
 [<CommonParameters>]
Get-SCPROMonitorConfiguration [-PROMonitor <PROMonitor>] -VMHostCluster <HostCluster>
 [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCPROMonitorConfiguration [-PROMonitor <PROMonitor>] -VMHostGroup <HostGroup>
 [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCPROMonitorConfiguration [-PROMonitor <PROMonitor>] [-VMMServer <ServerConnection>] [-VMMServerScope]
 [<CommonParameters>]

Description

The Get-SCPROMonitorConfiguration cmdlet gets one or more Performance and Resource Optimization (PRO) monitor configuration objects for a specified scope.

Examples

Example 1: Get all PRO monitor configuraiton objects on a specified host group

PS C:\> $HostGroup = Get-SCVMHostGroup -Name "Production"
PS C:\> $PROMonitorConfig = Get-SCPROMonitorConfiguration -VMHostGroup $HostGroup
PS C:\> $PROMonitorConfig

The first command gets the host group object named Production and stores the object in the $HostGroup variable.

The second command gets the PRO monitor configuration objects on the host group stored in $HostGroup (Production) and stores the objects in the $PROMonitorConfig variable.

The last command displays information about the PRO monitor configuration objects stored in $PROMonitorConfig to the user.

Parameters

-Cloud

Specifies a private cloud object.

Type:Cloud
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ComputerTier

Specifies a computer tier object.

Type:ComputerTier
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROMonitor

Specifies a PRO monitor object.

Type:PROMonitor
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Service

Specifies a Virtual Machine Manager (VMM) service object.

Type:Service
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VM

Specifies a virtual machine object.

Type:VM
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMHost

Specifies a virtual machine host object. VMM supports Hyper-V hosts, VMware ESX hosts, and Citrix XenServer hosts.

For more information about each type of host, see the Add-SCVMHost cmdlet.

Type:Host
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMHostCluster

Specifies a VMM host cluster object.

Type:HostCluster
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMHostGroup

Specifies a virtual machine host group object.

Type:HostGroup
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMMServerScope

Indicates that the PRO information returned is scoped to the entire VMM server.

Type:SwitchParameter
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

PROMonitorConfiguration

This cmdlet returns a **PROMonitorConfiguration** object.