Register-SCDWSource

Register-SCDWSource

Registers instances of data source types, such as Service Manager, Operations Manager, and Configuration Manager, to the data warehouse.

Syntax

Parameter Set: Default
Register-SCDWSource [-DataSourceTypeName] <String> [-SourceComputerName] <String> [-AdditionalData <Object> ] [-ComputerName <String> ] [-Credential <PSCredential> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Register-SCDWSource cmdlet registers instances of data source types, such as Service Manager, Operations Manager, and Configuration Manager, to the data warehouse.

Parameters

-AdditionalData<Object>

Specifies any additional data that a particular source might have to send during registration. For example, during a Configuration Manager source registration, this parameter provides the necessary credentials in the form of a credential object, which the Configuration Manager source uses to contact the Configuration Manager server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ComputerName<String>

Specifies the name of the data warehouse management server on which to run the Register-SCDWSource cmdlet. The user account specified 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 provided user account must have access to that server.

Aliases

none

Required?

false

Position?

named

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 TypeNames.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SourceComputerName<String>

Specifies the name of the Service Manager management server that is to be registered with the data warehouse.

Aliases

none

Required?

true

Position?

1

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 --------------------------

The first command prompts for your credentials and stores them in an object variable.

The second command registers a Service Manager management group to the data warehouse.

PS C:\> $CredUser1 = Get-Credential
PS C:\> Register-SCDWSource -ComputerName serverDW7 -DataSourceTypeName ServiceManager -SourceComputerName serverDW7 -Credential $CredUser1

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

The first command prompts for your credentials and stores them in an object variable.

The second command registers an Operations Manager management group with the data warehouse.

PS C:\> $CredUser1 = Get-Credential
PS C:\> Register-SCDWSource -ComputerName serverDW7 -DataSourceTypeName OperationsManager -SourceComputerName om2012 -DataSourceDbName OperationsManager -DataSourceDbServerName om2012 -FullPathToSourceManagementPackBundle "C:\Program Files\Microsoft System Center\Service Manager 2012\OperationsManagerMP.mpb" -Credential $CredUser1

-------------------------- EXAMPLE 3 --------------------------

This command registers a Configuration Manager server with the data warehouse.

PS C:\> Register-SCDWSource -ComputerName serverDW7 -DataSourceType ConfigurationManager.DataSource -DataSourceName serverDW7_sms_smq-SCCMDataSource -Properties @{ ServerName = 'serverDW7'; DatabaseName = 'sms_smq'; SubjectList = 'Microsoft.EnterpriseManagement.ServiceManager.Connector.Sms,Microsoft.SystemCenter.ConfigurationManager.Connector.PowerManagement'; SecureReferenceId = 'bb89ca43-3e64-07fc-a136-592183066184'; Version='bd3bc1fe-1546-5108-2faf-4d5c01d2bc6a' } -FullPathToSourceManagementPackBundle "C:\Program Files\Microsoft System Center\Service Manager 2012\SCCMDW.mpb" -AdditionalData @($input)[0]

Enable-SCDWSource

Disable-SCDWSource

Get-SCDWSource

Set-SCDWSource

Unregister-SCDWSource