Get-SCPROMonitorConfiguration

Get-SCPROMonitorConfiguration

Gets a PRO monitor configuration object for a specified scope.

Syntax

Parameter Set: HostGroup
Get-SCPROMonitorConfiguration -VMHostGroup <HostGroup> [-PROMonitor <PROMonitor> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: Cloud
Get-SCPROMonitorConfiguration -Cloud <Cloud> [-PROMonitor <PROMonitor> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: ComputerTier
Get-SCPROMonitorConfiguration -ComputerTier <ComputerTier> [-PROMonitor <PROMonitor> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: HostCluster
Get-SCPROMonitorConfiguration -VMHostCluster <HostCluster> [-PROMonitor <PROMonitor> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: Service
Get-SCPROMonitorConfiguration -Service <Service> [-PROMonitor <PROMonitor> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: VM
Get-SCPROMonitorConfiguration -VM <VM> [-PROMonitor <PROMonitor> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: VMHost
Get-SCPROMonitorConfiguration -VMHost <Host> [-PROMonitor <PROMonitor> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: VMMServer
Get-SCPROMonitorConfiguration -VMMServerScope [-PROMonitor <PROMonitor> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Detailed Description

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

Parameters

-Cloud<Cloud>

Specifies a private cloud object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ComputerTier<ComputerTier>

Specifies a computer tier object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PROMonitor<PROMonitor>

Specifies a PRO monitor object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Service<Service>

Specifies a VMM service object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VM<VM>

Specifies a virtual machine object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMHost<Host>

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, type Get-Help Add-SCVMHost -detailed. See the examples for a specific cmdlet to determine how that cmdlet uses this parameter.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMHostCluster<HostCluster>

Specifies a VMM host cluster object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMHostGroup<HostGroup>

Specifies a virtual machine host group object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

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.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • PROMonitorConfiguration

Examples

Example Example 1: Get all PRO monitor configuraitonconfiguration objects on a specified host group.configuration

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

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

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

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

Add-SCVMHost

Set-SCPROMonitorConfiguration

Get-SCVMHostGroup