Compartilhar via


Add-SCDWMgmtGroup

Add-SCDWMgmtGroup

Registers a Service Manager management group and its servers as a source for the Data Warehouse.

Syntax

Parameter Set: Default
Add-SCDWMgmtGroup [[-ComputerName] <String> ] -Credential <PSCredential> -SourceComputerName <String> [ <CommonParameters>]

Detailed Description

The Add-SCDWMgmtGroup cmdlet registers a Service Manager management server as a source for the Service Manager data warehouse.

Parameters

-ComputerName<String>

Specifies the name of the Data Warehouse management server with which the management group is being registered.

Aliases

none

Required?

false

Position?

1

Default Value

.

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Credential<PSCredential>

Specifies the PSCredential containing the user name and password of an administrator on the Service Manager management server.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SourceComputerName<String>

Specifies the Service Manager management server for the Service Manager instance that is being registered as a source for the Data Warehouse.

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

Inputs

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

  • Microsoft.EnterpriseManagement.DataWarehouse.ManagementGroup

    This object is generated by the Get-SCDWMgmtGroup cmdlet.

Outputs

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

  • None.

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

This command registers the Service Manager installation on the server smmgmt1.companydomain.com with the installed data warehouse management server.

C:\PS>$cred = Get-CredentialAdd-SCDWManagementGroup -SourceComputerName smmgmt1.companydomain.com -Credential $cred

-------------------------- EXAMPLE 2 --------------------------

Description

-----------

This command registers the instance of Service Manager that is installed on the SM1 server with the Data Warehouse management server that is installed on the DW1 server. The Credential parameter is required, so the user will be prompted to enter credentials.

C:\PS>$cred = Get-CredentialAdd-SCDWManagementGroup -SourceComputerName SM1 -ComputerName DW1

Getting Started with Service Manager Cmdlets for Windows PowerShell

Get-SCDWMgmtGroup
Remove-SCDWMgmtGroup