Get-MgmtSvcFqdn

Gets the FQDN for an Admin or Tenant site.

Syntax

Get-MgmtSvcFqdn
   [-Namespace] <String[]>
   [-PortalConnectionString <String>]
   [-ManagementConnectionString <String>]
   [-ConnectionString <String>]
   [<CommonParameters>]
Get-MgmtSvcFqdn
   [-Namespace] <String[]>
   [-PortalConnectionString <String>]
   [-ManagementConnectionString <String>]
   [-Server <String>]
   [-UserName <String>]
   [-Password <String>]
   [<CommonParameters>]

Description

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

Get-MgmtSvcFqdn now includes the API services in Windows Azure Pack for Windows Server. However, before these settings can be used, you must run Set-MgmtSvcFqdn on each of the API namespaces on a computer where they are installed locally. After this is complete, you can run Get-MgmtSvcFqdn from any computer in the deployment as long as you provide valid connection parameters to the Windows Azure Pack database. As with other namespaces, you must run Set-MgmtSvcFqdn from a computer where the target namespace is installed locally.

Examples

Example 1: Get an FQDN for a Tenant Site

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

This command gets the FQDN for a tenant site.

Required Parameters

-Namespace

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

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

Optional Parameters

-ConnectionString

Specifies an SQL connection string.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ManagementConnectionString

{{Fill ManagementConnectionString Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Password

Specifies a password.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PortalConnectionString

{{Fill PortalConnectionString Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Server

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UserName

Specifies the name of a user account.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False