Remove-SCDWMgmtGroup

Remove-SCDWMgmtGroup

Unregisters a Service Manager management group and its associated servers as a Data Warehouse data source.

Syntax

Parameter Set: Default
Remove-SCDWMgmtGroup [[-ComputerName] <String> ] -SourceComputerName <String> [ <CommonParameters>]

Detailed Description

The Remove-SCDWMgmtGroup cmdlet removes a Service Manager management group and its associated servers as a registered Data Warehouse data source.

Parameters

-ComputerName<String>

Specifies the server name of the Data Warehouse management server from which the Service Manager management group is being removed. The default value is "localhost".

Aliases

none

Required?

false

Position?

1

Default Value

.

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SourceComputerName<String>

Specifies the computer name of the Service Manager management server that is being unregistered. This server can be any server that is associated with a registered management group.

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 returned by Get-SCDWManagementGroup

Examples

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

Description

-----------

This command removes the SM1 Service Manager management server as a registered source from the Data Warehouse installed on DW1.

C:\PS>Remove-SCDWManagementGroup -SourceComputerName SM1 -ComputerName DW1

Getting Started with Service Manager Cmdlets for Windows PowerShell

Add-SCDWMgmtGroup
Get-SCDWMgmtGroup