Get-MasterDataServicesSystemSettings (Windows PowerShell)
Gets system settings from a specified Master Data Services database.
Syntax
Get-MasterDataServicesSystemSettings [-Database] <Microsoft.MasterDataServices.Configuration.DatabaseInformation>
Description
Get-MasterDataServicesSystemSettings returns a collection of objects that contain system settings from a specified Master Data Services database. This cmdlet returns a subset of system settings from mdm.tblSystemSetting in a Master Data Services database.
Parameters
-Database
The Database parameter is a database information object from Get-MasterDataServicesDatabase. This object contains information to connect to an instance of SQL Server and a specified Master Data Services database.
Required? |
true |
Position? |
0 |
Default Value |
none |
Accept Pipeline Input |
true (ByValue) |
Accept Wildcard Characters? |
false |
Inputs and Outputs
The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet returns.
Inputs |
Microsoft.MasterDataServices.Configuration.DatabaseInformation The input is a database information object from Get-MasterDataServicesDatabase. |
Outputs |
System.Collections.ObjectModel.Collection{Microsoft.MasterDataServices.Services.DataContracts.SystemSetting} Get-MasterDataServicesSystemSettings returns a collection of system setting objects from the specified Master Data Services database. |
Examples
Output
The following is an example of the output that is returned when you use this cmdlet.
Identifier : Microsoft.MasterDataServices.Services.DataContracts.Identifier Permission : NotSpecified AuditInfo : Microsoft.MasterDataServices.Services.DataContracts.AuditInfo DisplayName : Server Timeout Description : Number of seconds the MDM server will process an action SettingType : FreeForm DataType : Number SettingValue : 120000 SystemDomainList : Microsoft.MasterDataServices.Services.DataContracts.SystemDomainList MinValue : 900 MaxValue : 240000 IsVisible : True DisplaySequence : 2 Identifier : Microsoft.MasterDataServices.Services.DataContracts.Identifier Permission : NotSpecified AuditInfo : Microsoft.MasterDataServices.Services.DataContracts.AuditInfo DisplayName : Notification Interval Description : Frequency that e-mail notifications are issued (seconds) SettingType : FreeForm DataType : Number SettingValue : 120 SystemDomainList : Microsoft.MasterDataServices.Services.DataContracts.SystemDomainList MinValue : 120 MaxValue : 240000 IsVisible : True DisplaySequence : 8 ...
Piping Output and Using Positional Parameters
This example returns a subset of system settings from mdm.tblSystemSetting in the specified Master Data Services database. This example pipes output from Get-MasterDataServicesDatabase to Get-MasterDataServicesSystemSettings for the Database parameter in Get-MasterDataServicesSystemSettings. The example shows using the -Database parameter as a positional parameter.
C:\PS> Get-MasterDataServicesDatabase -Server "Data Source=MyServer\MyInstance;Integrated Security=True" -DatabaseName "MyDatabase" | Get-MasterDataServicesSystemSettings
See Also