Set-MgmtSvcFqdn

Set-MgmtSvcFqdn

Sets the FQDN for an Admin or Tenant site.

Syntax

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

Parameter Set: ConnectionString
Set-MgmtSvcFqdn [-Namespace] <String[]> [-ConnectionString <String> ] [-FullyQualifiedDomainName <String> ] [-Port <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]


 

Detailed Description

The Set-MgmtSvcFqdn cmdlet sets 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

 

-FullyQualifiedDomainName<String>

Specifies a Fully Qualified Domain Name (FQDN).

 

Aliases

FQDN

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

 

-Port<Int32>

Specifies a port number.

 

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

This command sets the FQDN for a tenant site.

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

 

Related topics

Get-MgmtSvcFqdn