New-SCDWSourceType
Updated: January 14, 2013
Applies To: System Center 2012 - Service Manager, System Center 2012 SP1 - Service Manager
New-SCDWSourceType
Syntax
Parameter Set: Default New-SCDWSourceType [-SourceConfigFile] <String> [-ComputerName <String> ] [-Credential <PSCredential> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The New-SCDWSourceType cmdlet creates a new data source type that can be registered to the data warehouse. Each data source type is defined by the classes and the relationships in the management pack bundle that is imported when the data source type is defined.
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.
|
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 |
-SourceConfigFile<String>
Specifies the path to the management pack bundle (.mpb) file that contains the management packs and other resources that define the data source.
Each management pack in the management pack bundle must contain a class that derives from the Microsoft.SystemCenter.DataWarehouse.DataSource class, and an enumeration that derives from DW.DataSourceType. The base class and the enumeration must exist in the Microsoft.SystemCenter.DataWarehouse.Base.mp management pack.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
1 |
|
Default Value |
none |
|
Accept Pipeline Input? |
true (ByPropertyName) |
|
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before executing the command.
|
Required? |
false |
|
Position? |
named |
|
Default Value |
false |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
|
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.
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 --------------------------
This command creates a new data source type from a specified management pack bundle.
PS C:\> New-SCDWSourceType -ComputerName serverDW7 -SourceConfigFile "C:\Program Files\Microsoft System Center\Management Packs\CustomHumanRelationsDataSource.mpb"
