Add-SCOMTieredManagementGroup

Add-SCOMTieredManagementGroup

Adds a tiered management group to a management group.

Syntax

Parameter Set: SimpleAccountTier
Add-SCOMTieredManagementGroup -ConnectionCredential <PSCredential> -Name <String> -ServerName <String> [-CacheConfiguration <CacheConfiguration> ] [-CacheMode <CacheMode> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-InactivityTimeout <TimeSpan> ] [-SCSession <Connection[]> ] [-SendReceiveTimeout <TimeSpan> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: RunAsAccountTier
Add-SCOMTieredManagementGroup -ConnectionCredential <PSCredential> -Name <String> -RunAsAccount <WindowsCredentialSecureData> -ServerName <String> [-AvailableForConnectors] [-CacheConfiguration <CacheConfiguration> ] [-CacheMode <CacheMode> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-InactivityTimeout <TimeSpan> ] [-SCSession <Connection[]> ] [-SendReceiveTimeout <TimeSpan> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Add-SCOMTieredManagementGroup cmdlet adds a tiered management group to a management group. A tiered management group is part of a connected management group that has peer-to-peer connections between its members and that shares member data in a single System Center 2012 – Operations Manager console.

Parameters

-AvailableForConnectors

Indicates that the new tier is available for connectors.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-CacheConfiguration<CacheConfiguration>

Specifies the cache configuration for the tiered management group.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-CacheMode<CacheMode>

Specifies the cache mode for the tiered management group.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ComputerName<String[]>

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ConnectionCredential<PSCredential>

Specifies a PSCredential object for the management group connection. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, 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.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Credential<PSCredential>

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 the Get-Credential cmdlet, 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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InactivityTimeout<TimeSpan>

Specifies the inactivity timeout for the tiered management group.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of the new tiered management group.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-RunAsAccount<WindowsCredentialSecureData>

Specifies the Run As credential that a management group uses when the tier is available for connectors.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SCSession<Connection[]>

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SendReceiveTimeout<TimeSpan>

Specifies the send/receive timeout for the tiered management group as a TimeSpan object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServerName<String>

Specifies the name of the SDK server with which to connect in the new tiered management group.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

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.

Required?

false

Position?

named

Default Value

false

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.

Examples

Example 1: Add a tiered management group

This command adds a tiered management group named New Tier to the server named SCOM02.contoso.com.

PS C:\> Add-SCOMTieredManagementGroup -Name "New Tier" -ServerName "SCOM02.contoso.com" -ConnectionCredential (Get-Credential) 

Example 2: Add a tiered management group that is available to connectors

This command adds a new tiered management group named New Tier for Connectors to the server named SCOM02.contoso.com. This tiered management group is available to connectors and uses the Run As account named TierAccount.

PS C:\> Add-SCOMTieredManagementGroup -Name "New Tier for Connectors" -ServerName "SCOM02.contoso.com" -ConnectionCredential (Get-Credential) -AvailableForConnectors -RunAsAccount (Get-SCOMRunAsAccount "TierAccount")

Get-SCOMManagementGroupConnection

New-SCOMManagementGroupConnection

Set-SCOMManagementGroupConnection