Get-SCDWSource

Get-SCDWSource

Gets registered instances of data sources.

Syntax

Parameter Set: Default
Get-SCDWSource [[-DataSourceTypeName] <String> ] [-ComputerName <String> ] [-Credential <PSCredential> ] [ <CommonParameters>]

Detailed Description

The Get-SCDWSource cmdlet gets specific instances of data sources that are registered to the data warehouse.

For updated information about this cmdlet, see Get-SCDWSource.

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

-DataSourceTypeName<String>

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

Aliases

none

Required?

false

Position?

1

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

  • Microsoft.EnterpriseManagement.DataWarehouse.DataSource

Examples

Example 1: Get all data sources

This command retrieves all data sources from the serverDW72 computer.

PS C:\> Get-SCDWSource -ComputerName "serverDW72"

Example 2: Get all data sources of a particular type

This command retrieves all data sources from the serverDW72 computer, for which the data source type is ServiceManager.

PS C:\> Get-SCDWSource -DataSourceTypeName "ServiceManager" -ComputerName "serverDW72"

Example 3: Get data sources by date

This command finds any data sources that were registered before a specified date.

PS C:\> Get-SCDWSource -ComputerName "serverDW72" | Where-Object {$_.DateRegistered -lt [System.DateTime]"June 12 2012"}

Example 4: Get unregistered data sources

This command finds any data sources that have been unregistered.

PS C:\> Get-SCDWSource -ComputerName "serverDW72" | Where-Object {$_.DateUnRegistered -ne $Null}

Enable-SCDWSource

Disable-SCDWSource

Set-SCDWSource

Register-SCDWSource

Unregister-SCDWSource