Get-SCOMTieredManagementGroup

Gets tiered management groups defined in Operations Manager.

Syntax

Get-SCOMTieredManagementGroup [-ComputerName <String[]>] [-Credential <PSCredential>] -Id <Guid[]>
 [-SCSession <Connection[]>] [-Confirm] [-WhatIf] [<CommonParameters>]
Get-SCOMTieredManagementGroup [-Name] <String[]> [-ComputerName <String[]>] [-Credential <PSCredential>]
 [-SCSession <Connection[]>] [-Confirm] [-WhatIf] [<CommonParameters>]
Get-SCOMTieredManagementGroup [-ComputerName <String[]>] [-Credential <PSCredential>] [-OnlyForConnector]
 [-SCSession <Connection[]>] [-Confirm] [-WhatIf] [<CommonParameters>]

Description

The Get-SCOMTieredManagementGroup cmdlet gets tiered management groups defined in System Center 2016 - Operations Manager. A tiered management group is part of a connected management group that has peer-to-peer connections between its members and that shares data in a single Operations Manager console.

Examples

Example 1: Get all tiered management groups

PS C:\>Get-SCOMTieredManagementGroup

This command gets all tiered management groups.

Example 2: Get a specific tiered management group

PS C:\>Get-SCOMTieredManagementGroup -Name "Fabrikam"

This command gets the tiered management group named Fabrikam.

Example 3: Get tiered management groups that are available for connectors

PS C:\>Get-SCOMTieredManagementGroup -OnlyForConnector

This command gets only tiered management groups that are marked as available for connectors.

Parameters

-ComputerName

Specifies an array of names of computers. The cmdlet establishes temporary connections with management groups for these computers. You can use NetBIOS names, IP addresses, or fully qualified domain names (FQDNs). To specify the local computer, type the computer name, localhost, or a dot (.).

The computer must run the System Center Data Access service.

If you do not specify this parameter, the default is the computer for the current management group connection.

Type:String[]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Credential

Specifies the user account under which the management group connection runs. Specify a PSCredential object, such as one that the Get-Credential cmdlet returns, for this parameter. For more information about credential objects, type Get-Help Get-Credential.

If you specify a computer in the ComputerName parameter, use an account that has access to that computer. The default is the current user.

Type:PSCredential
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Id

Specifies an array of IDs for tiered management groups.

Type:Guid[]
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies an array of names for tiered management groups.

Type:String[]
Required:True
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OnlyForConnector

Indicates that the cmdlet returns only tiered management groups that are available to connectors.

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

Specifies an array of Connection objects. To get Connection objects, specify the Get-SCOMManagementGroupConnection cmdlet.

If you do not specify a value for this parameter, the cmdlet uses the active persistent connection to a management group. Use the SCSession parameter to specify a different persistent connection. You can create a temporary connection to a management group by using the ComputerName and Credential parameters. For more information, type Get-Help about_OpsMgr_Connections.

Type:Connection[]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False