Get-MgmtSvcFqdn

Get-MgmtSvcFqdn

Gets the FQDN for an Admin or Tenant site.

Syntax

Parameter Set: ConnectionParameters
Get-MgmtSvcFqdn [-Namespace] <String[]> [-Password <String> ] [-Server <String> ] [-UserName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ConnectionString
Get-MgmtSvcFqdn [-Namespace] <String[]> [-ConnectionString <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]


 

Detailed Description

The Get-MgmtSvcFqdn cmdlet gets the Fully Qualified Domain Name (FQDN) for an Admin or Tenant site.

Parameters

-ConnectionString<String>

Specifies an SQL connection string.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-Namespace<String[]>

Specifies an array of namespaces. Valid values are: AdminSite, TenantSite.

 

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-Password<String>

Specifies a password.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-Server<String>

Specifies the name of the computer on which the SQL database resides.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-UserName<String>

Specifies the name of a user account.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-Confirm

Prompts you for confirmation before executing the command.

 

Required?

false

Position?

named

Default Value

none

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

none

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.

Examples

Example 1: Get an FQDN for a Tenant Site

This command gets the FQDN for a tenant site.

PS C:\> Get-MgmtSvcFqdn -Namespace TenantSite -Password "PassWord01!" -Server "Computer01" -UserName "PattiFuller"

 

Related topics

Set-MgmtSvcFqdn