Unregister-SCDWSource

Unregisters a data source from the data warehouse.

Syntax

Unregister-SCDWSource [-DataSourceTypeName] <String> [-DataSourceName] <String> [-AdditionalData <Object>]
 [-ComputerName <String>] [-Credential <PSCredential>] [-Confirm] [-WhatIf] [<CommonParameters>]

Description

The Unregister-SCDWSource cmdlet unregisters a data source from the data warehouse. Any jobs that extract data from the unregistered data source are deleted. Any management packs that are synchronized from the unregistered data source are uninstalled. Any data that has already been retrieved from the data warehouse for the unregistered data source remains.

Examples

Example 1: Unregister a data source

PS C:\>UnRegister-SCDWSource â€"ComputerName "serverDW72" â€"DataSourceTypeName "ServiceManager" â€"DataSourceName "Contoso_22"

This command unregisters a specified data source.

Parameters

-AdditionalData

Specifies any additional data that a particular source has to send during registration. For example, a Configuration Manager source is registered, this parameter is used to pass a credential object that is later used by the Configuration Manager source to contact the Configuration Manager server.

Type:Object
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-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
Required:False
Position:Named
Default value:None
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
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DataSourceName

Specifies the name of the data source to use. Registered data sources may be retrieved by the Get-SCDWSource cmdlet.

Type:String
Required:True
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DataSourceTypeName

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

Type:String
Required:True
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
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.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value: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.