Invoke-RASTenantBroker
Joins/Unjoins a Tenant Broker.
Invoke-RASTenantBroker -HashKey <string> -Join <SwitchParameter> [-PublicDomainAddresses <string>] [-SiteId <uint>] [-TenantBroker <string>] [-TenantName <string>] [<CommonParameters>]
Invoke-RASTenantBroker -Unjoin <SwitchParameter> [-SiteId <uint>] [<CommonParameters>]
Joins/Unjoins a Tenant Broker.
-SiteId <uint> Site ID from which to retrieve the Tenant Broker settings (optional).
-Join <SwitchParameter> Join Tenant Broker SwitchParameter.
-HashKey <string> This can be the Tenant Broker secret key located at Farm | Settings | Tenant Broker, or the Tenant invitation hash created at Farm | Tenants | Add.
-TenantBroker <string> The IP or DNS address of the Tenant Broker to join.
-TenantName <string> The Tenant name. Applicable only if Farms are allowed to register using a secret key.
-PublicDomainAddresses <string> The accessible name. Applicable only if Farms are allowed to register using a secret key.
-Unjoin <SwitchParameter> Unjoin Tenant Broker SwitchParameter.
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ----------
Invoke-RASTenantBroker -Join -HashKey "9A76312E-2EB7-4386-8AAF-180BC1015055" -TenantBroker "TB1"
Joins the Tenant Broker TB1 with the provided hash key. ---------- EXAMPLE 2 ----------
Invoke-RASTenantBroker -Join -HashKey "9A76312E-2EB7-4386-8AAF-180BC1541055" -TenantBroker "TB1" -TenantName "tb01"
Joins the Tenant Broker TB1 (tb01) with the provided hash key. ---------- EXAMPLE 3 ----------
Invoke-RASTenantBroker -Unjoin
Unjoins the tenant broker.