Set-MgmtSvcFqdn

Sets the FQDN for an Admin or Tenant site.

Syntax

Set-MgmtSvcFqdn
   [-FullyQualifiedDomainName <String>]
   [-Port <Int32>]
   [-Scheme <String>]
   [-Namespace] <String[]>
   [-PortalConnectionString <String>]
   [-ManagementConnectionString <String>]
   [-Server <String>]
   [-UserName <String>]
   [-Password <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-MgmtSvcFqdn
   [-FullyQualifiedDomainName <String>]
   [-Port <Int32>]
   [-Scheme <String>]
   [-Namespace] <String[]>
   [-PortalConnectionString <String>]
   [-ManagementConnectionString <String>]
   [-ConnectionString <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

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

Set-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: Set the FQDN of a tenant site.

PS C:\> Set-MgmtSvcFqdn -Namespace "TenantSite" -FullyQualifiedDomainName "Computer01.Contoso.com" -Password "PassWord01!" -Port 30081 -Server "SQLComputer01" -UserName "PattiFuller"

This command sets 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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-ConnectionString

Specifies an SQL connection string.

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

Specifies a Fully Qualified Domain Name (FQDN).

Type:String
Aliases:FQDN
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
-Port

Specifies a port number.

Type:Int32
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
-Scheme

{{Fill Scheme 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
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False