Unregister-SCDWManagementPack

Unregister-SCDWManagementPack

Removes a management pack directly from the data warehouse.

Syntax

Parameter Set: Default
Unregister-SCDWManagementPack [-DataSourceTypeName] <String> [-DataSourceName] <String> [-ManagementPackBundle] <String> [-ComputerName <String> ] [-Credential <PSCredential> ] [-UninstallMP] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Unregister-SCDWManagementPack cmdlet removes a management pack directly from the data warehouse.

Parameters

-ComputerName<String>

Specifies the name of the computer on which the System Center Data Access service is running. The user account that is defined in the Credential parameter must have access rights to the specified computer. You can omit this parameter only if the System Center Data Access Service is running on the same computer that has Service Manager installed.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Credential<PSCredential>

Specifies the credentials to use when you are connecting to the server on which the System Center Data Access service is running. The user account that is provided must have access to that server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DataSourceName<String>

Species the name of the data source to unregister. You can use the Get-SCDWSource cmdlet to retrieve data source names.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DataSourceTypeName<String>

Specifies the type of the data source. You can use the Get-SCDWSourceType cmdlet to retrieve type name values.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ManagementPackBundle<String>

Specifies the file that contains the management pack bundle that contains the management pack to unregister.

Aliases

none

Required?

true

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-UninstallMP

Specifies that the management pack will be deleted, in addition to being unregistered.

Aliases

none

Required?

false

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.

  • None.

    You cannot pipe input to this cmdlet.

Outputs

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

  • None.

    This cmdlet does not generate any output.

Examples

Example 1: Unregister and uninstall a management pack bundle

This command unregisters the management packs in a specified management pack bundle and then uninstalls them.

PS C:\> Unregister-SCDWManagementPack –ComputerName "serverDW72" -DataSourceType "ConfigurationManager.DataSource" -DataSourceName "ADatum" –ManagementPackBundle "C:\MPB\ADatumDataWarehouse.Library.mpb" –UninstallMP

Cmdlet Reference for Data Warehouse