Invoke-RASBrokerPromoteToPrimary
Last updated
Last updated
Invoke-RASBrokerPromoteToPrimary
Promotes a RAS Connection Broker to the primary Connection Broker.
Invoke-RASBrokerPromoteToPrimary [] (uint) [ (SecureString)] [ (string)] [()]
Invoke-RASBrokerPromoteToPrimary [] (uint) - (string) - (SecureString) [ (SecureString)] [ (string)] [ (string)] [ (string)] [()]
Invoke-RASBrokerPromoteToPrimary [-] () [ (SecureString)] [ (string)] [()]
Invoke-RASBrokerPromoteToPrimary [-] () - (string) - (SecureString) [ (SecureString)] [ (string)] [ (string)] [ (string)] [()]
Invoke-RASBrokerPromoteToPrimary [] (string) [[-] (uint)] [ (SecureString)] [ (string)] [()]
Invoke-RASBrokerPromoteToPrimary [] (string) [[-] (uint)] - (string) - (SecureString) [ (SecureString)] [ (string)] [ (string)] [ (string)] [()]
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.
The name of the RAS Connection Broker server.
This must be the actual server name used in the Parallels RAS farm.
Site ID of the RAS Connection Broker server.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of the RAS Connection Broker server.
An object of type Broker representing the RAS Connection Broker.
To obtain the object, use the Get-RASBroker cmdlet.
The email address you use to log in to Parallels My Account.
Your Parallels account password.
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.
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.
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.
The password of the account specified in the BrokerUsername parameter.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Invoke-RASBrokerPromoteToPrimary "server.company.dom"
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 ----------
Invoke-RASBrokerPromoteToPrimary -Id 5 -Email "name@company.com" -Password $SecretPass
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 ----------
Invoke-RASBrokerPromoteToPrimary -InputObject $Broker -Email "name@company.com" -Password $SecretPass -Key "QPWO-WRET-XVBC-IOUP"
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 ----------
Get-RASBroker -Id 2 | Invoke-RASBrokerPromoteToPrimary
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.