Get-MgmtSvcDefaultDatabaseName

Get-MgmtSvcDefaultDatabaseName

Gets the names of the default databases.

Syntax

Parameter Set: Default
Get-MgmtSvcDefaultDatabaseName [[-Name] <String[]> ] [ <CommonParameters>]


 

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

Parameters

-Name<String[]>

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

 

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

Example 1: Get a default database name

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"