Add-SCOMTieredManagementGroup
Adds a tiered management group to a management group.
Syntax
Add-SCOMTieredManagementGroup
-Name <String>
-ServerName <String>
-ConnectionCredential <PSCredential>
[-InactivityTimeout <TimeSpan>]
[-SendReceiveTimeout <TimeSpan>]
[-CacheMode <CacheMode>]
[-CacheConfiguration <CacheConfiguration>]
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Add-SCOMTieredManagementGroup
-Name <String>
-ServerName <String>
-ConnectionCredential <PSCredential>
[-InactivityTimeout <TimeSpan>]
[-SendReceiveTimeout <TimeSpan>]
[-CacheMode <CacheMode>]
[-CacheConfiguration <CacheConfiguration>]
-RunAsAccount <WindowsCredentialSecureData>
[-AvailableForConnectors]
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
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 2016 - Operations Manager console.
Examples
Example 1: Add a tiered management group
PS C:\>Add-SCOMTieredManagementGroup -Name "New Tier" -ServerName "SCOM02.contoso.com" -ConnectionCredential (Get-Credential)
This command adds a tiered management group named New Tier to the server named SCOM02.contoso.com.
Example 2: Add a tiered management group that is available to connectors
PS C:\>Add-SCOMTieredManagementGroup -Name "New Tier for Connectors" -ServerName "SCOM02.contoso.com" -ConnectionCredential (Get-Credential) -AvailableForConnectors -RunAsAccount (Get-SCOMRunAsAccount "TierAccount")
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.
Parameters
-AvailableForConnectors
Indicates that the new tier is available for connectors.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CacheConfiguration
Specifies the cache configuration for the tiered management group.
Type: | CacheConfiguration |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CacheMode
Specifies the cache mode for the tiered management group.
Type: | CacheMode |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ConnectionCredential
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.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | True |
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 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.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InactivityTimeout
Specifies the inactivity timeout for the tiered management group.
Type: | TimeSpan |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the name of the new tiered management group.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunAsAccount
Specifies the Run As credential that a management group uses when the tier is available for connectors.
Type: | WindowsCredentialSecureData |
Position: | Named |
Default value: | None |
Required: | True |
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[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SendReceiveTimeout
Specifies the send/receive timeout for the tiered management group as a TimeSpan object.
Type: | TimeSpan |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServerName
Specifies the name of the SDK server with which to connect in the new tiered management group.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
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 |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |