Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Invoke-RASConnectionBrokerPromoteToPrimary

SYNOPSIS

Promotes a RAS Connection Broker to the primary Connection Broker.

SYNTAX

Invoke-RASConnectionBrokerPromoteToPrimary [-Id] <uint> [-BrokerPassword <SecureString>]
 [-BrokerUsername <string>] [<CommonParameters>]
Invoke-RASConnectionBrokerPromoteToPrimary [-Id] <uint> -Email <string> -Password <SecureString>
 [-BrokerPassword <SecureString>] [-BrokerUsername <string>] [-Key <string>] [-MacAddress <string>]
 [<CommonParameters>]
Invoke-RASConnectionBrokerPromoteToPrimary [-InputObject] <ConnectionBroker>
 [-BrokerPassword <SecureString>] [-BrokerUsername <string>] [<CommonParameters>]
Invoke-RASConnectionBrokerPromoteToPrimary [-InputObject] <ConnectionBroker> -Email <string>
 -Password <SecureString> [-BrokerPassword <SecureString>] [-BrokerUsername <string>]
 [-Key <string>] [-MacAddress <string>] [<CommonParameters>]
Invoke-RASConnectionBrokerPromoteToPrimary [-Server] <string> [[-SiteId] <uint>]
 [-BrokerPassword <SecureString>] [-BrokerUsername <string>] [<CommonParameters>]
Invoke-RASConnectionBrokerPromoteToPrimary [-Server] <string> [[-SiteId] <uint>] -Email <string>
 -Password <SecureString> [-BrokerPassword <SecureString>] [-BrokerUsername <string>]
 [-Key <string>] [-MacAddress <string>] [<CommonParameters>]

DESCRIPTION

Promotes a RAS Connection Broker to the primary Connection Broker.

When promoting a Connection Broker in a non-primary Site, the Email, Password, Key, and MacAddress will be ignored.

EXAMPLES

Example 1

Promotes the specified RAS Connection Broker (by server) to the primary Connection Broker.

NB. The newly promoted RAS Connection Broker will not be activated.

Example 2

Promotes the specified RAS Connection Broker (by ID) to the primary Connection Broker and activates a new RAS Connection Broker license with same license key.

The $SecretPass variable must contain a password as SecureString.

If you omit the -Password parameter, you'll be asked to enter it when you execute the cmdlet.

Example 3

Promotes the specified RAS Connection Broker (by InputObject) to the primary Connection Broker and activates a new RAS Connection Broker license using the specified key.

The $SecretPass variable must contain a password as SecureString.

If you omit the -Password parameter, you'll be asked to enter it when you execute the cmdlet.

Example 4

Promotes the specified (by InputObject) RAS Connection Broker server to the primary Connection Broker.

NB. The newly promoted RAS Connection Broker will not be activated.

PARAMETERS

-Server

The name of the RAS Connection Broker server.

This must be the actual server name used in the Parallels RAS farm.

-SiteId

Site ID of the RAS Connection Broker server.

If the parameter is omitted, the Licensing Server site ID will be used.

-Id

The ID of the RAS Connection Broker server.

-InputObject

An object of type Broker representing the RAS Connection Broker.

To obtain the object, use the Get-RASConnectionBroker cmdlet.

Type reference: ConnectionBroker

-Email

The email address you use to log in to Parallels My Account.

-Password

Your Parallels account password.

-Key

Parallels RAS License Key. The key must be registered in Parallels My Account.

If you omit this parameter, the current license key will be used in activation.

-MacAddress

Bind the license activation with a specific MAC address.

The MAC address should be in the format XX-XX-XX-XX-XX-XX.

To select a MAC address automatically, omit this parameter.

-BrokerUsername

An administrator account for connecting with the new Connection Broker server (the one being promoted).

If this parameter is omitted, your RAS admin username (and password) will be used.

-BrokerPassword

The password of the account specified in the BrokerUsername parameter.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

ConnectionBroker

OUTPUTS

None

Last updated