Get-SCPROMonitorConfiguration
Gets a PRO monitor configuration object for a specified scope.
Syntax
Get-SCPROMonitorConfiguration
[-VMMServer <ServerConnection>]
-VMHostGroup <HostGroup>
[-PROMonitor <PROMonitor>]
[<CommonParameters>]
Get-SCPROMonitorConfiguration
[-VMMServer <ServerConnection>]
-Cloud <Cloud>
[-PROMonitor <PROMonitor>]
[<CommonParameters>]
Get-SCPROMonitorConfiguration
[-VMMServer <ServerConnection>]
-VMHostCluster <HostCluster>
[-PROMonitor <PROMonitor>]
[<CommonParameters>]
Get-SCPROMonitorConfiguration
[-VMMServer <ServerConnection>]
-Service <Service>
[-PROMonitor <PROMonitor>]
[<CommonParameters>]
Get-SCPROMonitorConfiguration
[-VMMServer <ServerConnection>]
[-VMMServerScope]
[-PROMonitor <PROMonitor>]
[<CommonParameters>]
Get-SCPROMonitorConfiguration
[-VMMServer <ServerConnection>]
-VMHost <Host>
[-PROMonitor <PROMonitor>]
[<CommonParameters>]
Get-SCPROMonitorConfiguration
[-VMMServer <ServerConnection>]
-VM <VM>
[-PROMonitor <PROMonitor>]
[<CommonParameters>]
Get-SCPROMonitorConfiguration
[-VMMServer <ServerConnection>]
-ComputerTier <ComputerTier>
[-PROMonitor <PROMonitor>]
[<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 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ComputerTier
Specifies a computer tier object.
Type: | ComputerTier |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PROMonitor
Specifies a PRO monitor object.
Type: | PROMonitor |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Service
Specifies a Virtual Machine Manager (VMM) service object.
Type: | Service |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VM
Specifies a virtual machine object.
Type: | VM |
Position: | Named |
Default value: | None |
Required: | True |
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 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMHostCluster
Specifies a VMM host cluster object.
Type: | HostCluster |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMHostGroup
Specifies a virtual machine host group object.
Type: | HostGroup |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
Specifies a VMM server object.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VMMServerScope
Indicates that the PRO information returned is scoped to the entire VMM server.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
PROMonitorConfiguration
This cmdlet returns a PROMonitorConfiguration object.