Unregister-SCDWManagementPack
Removes a management pack directly from the data warehouse.
Syntax
Unregister-SCDWManagementPack
[-ManagementPackBundle] <String>
[-UninstallMP]
[-DataSourceTypeName] <String>
[-DataSourceName] <String>
[-ComputerName <String>]
[-Credential <PSCredential>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Unregister-SCDWManagementPack cmdlet removes a management pack directly from the data warehouse.
Examples
Example 1: Unregister and uninstall a management pack bundle
PS C:\>Unregister-SCDWManagementPack â€"ComputerName "serverDW72" -DataSourceType "ConfigurationManager.DataSource" -DataSourceName "ADatum" â€"ManagementPackBundle "C:\MPB\ADatumDataWarehouse.Library.mpb" â€"UninstallMP
This command unregisters the management packs in a specified management pack bundle and then uninstalls them.
Parameters
-ComputerName
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.
Type: | String |
Aliases: | CN |
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 |
-Credential
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.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DataSourceName
Species the name of the data source to unregister. You can use the Get-SCDWSource cmdlet to retrieve data source names.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DataSourceTypeName
Specifies the type of the data source. You can use the Get-SCDWSourceType cmdlet to retrieve type name values.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManagementPackBundle
Specifies the file that contains the management pack bundle that contains the management pack to unregister.
Type: | String |
Position: | 3 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UninstallMP
Specifies that the management pack will be deleted, in addition to being unregistered.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Inputs
None.
You cannot pipe input to this cmdlet.
Outputs
None.
This cmdlet does not generate any output.