Get-MgmtSvcDefaultDatabaseName

Gets the names of the default databases.

Syntax

Get-MgmtSvcDefaultDatabaseName
   [[-Name] <String[]>]
   [<CommonParameters>]

Description

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.

Examples

Example 1: Get a default database name

PS C:\> Get-MgmtSvcDefaultDatabaseName -Name "Microsoft.MgmtSvc.Config","Microsoft.MgmtSvc.Store"

This example returns information about the default databases named Microsoft.MgmtSvc.Config and Microsoft.MgmtSvc.Store.

Optional Parameters

-Name

Specifies an array of names for default databases.

Type:String[]
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False