Gets the names of the default databases.
Syntax
Parameter Set: Default
Get-MgmtSvcDefaultDatabaseName [[-Name] <String[]> ] [
<CommonParameters>]
The Get-MgmtSvcDefaultDatabaseName cmdlet gets the names of the default databases. If you use this cmdlet without specifying a parameter, all default database names are returned. To get a specific default database name, use the Name parameter.
Specifies an array of names for default databases.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
true |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
This example returns information about the default databases named Microsoft.MgmtSvc.Config and Microsoft.MgmtSvc.Store.
PS C:\> Get-MgmtSvcDefaultDatabaseName -Name "Microsoft.MgmtSvc.Config","Microsoft.MgmtSvc.Store"