Set-MgmtSvcFqdn

Sets the FQDN for an Admin or Tenant site.

Syntax

Set-MgmtSvcFqdn [-Namespace] <String[]> [-Confirm] [-ConnectionString <String>]
 [-FullyQualifiedDomainName <String>] [-ManagementConnectionString <String>] [-Port <Int32>]
 [-PortalConnectionString <String>] [-Scheme <String>] [-WhatIf] [<CommonParameters>]
Set-MgmtSvcFqdn [-Namespace] <String[]> [-Confirm] [-FullyQualifiedDomainName <String>]
 [-ManagementConnectionString <String>] [-Password <String>] [-Port <Int32>] [-PortalConnectionString <String>]
 [-Scheme <String>] [-Server <String>] [-UserName <String>] [-WhatIf] [<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.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-ConnectionString

Specifies an SQL connection string.

Type:String
Required:False
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
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-ManagementConnectionString

{{Fill ManagementConnectionString Description}}

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

-Namespace

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

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

-Password

Specifies a password.

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

-Port

Specifies a port number.

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

-PortalConnectionString

{{Fill PortalConnectionString Description}}

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

-Scheme

{{Fill Scheme Description}}

Type:String
Required:False
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
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-UserName

Specifies the name of a user account.

Type:String
Required:False
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
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False