New-RASBroker
Adds a RAS Connection Broker server to a site.
New-RASBroker [-Server] <string> [[-SiteId] <uint>] [-NoFireWallRules <SwitchParameter>] [-NoInstall <SwitchParameter>] [-NoRestart <SwitchParameter>] [-Takeover <SwitchParameter>] [<CommonParameters>] New-RASBroker [-Server] <string> [[-SiteId] <uint>] -Password <SecureString> -Username <string> [-NoFireWallRules <SwitchParameter>] [-NoRestart <SwitchParameter>] [-Takeover <SwitchParameter>] [<CommonParameters>]
Adds a RAS Connection Broker server to a site. The agent software will be installed on the server by default. You can optionally skip the agent installation by including the -NoInstall parameter.
-Server <string> FQDN or IP address of the server to add to a site as a RAS Connection Broker.
-SiteId <uint> Site ID to which to add the RAS Connection Broker server. If the parameter is omitted, the Licensing Server site ID will be used.
-Username <string> An administrator account for push installing the agent on the server. If this parameter is omitted, your RAS admin username and password will be used.
-Password <SecureString> The password of the account specified in the Username parameter.
-NoInstall <SwitchParameter> Specifies not to install the agent software on the server. If you omit this parameter, the agent will be push installed on the server using your RAS admin credentials. To specify different credentials, include the Username and Password parameters.
-NoRestart <SwitchParameter> Specifies not to restart the server after the RAS Connection Broker is installed. If this parameter is omitted, the server will be restarted if required.
-NoFireWallRules <SwitchParameter> Specifies not to add firewall rules to allow the RAS Connection Broker to communicate. If this parameter is omitted, the firewall rules will not be added.
-Takeover <SwitchParameter> Specifies to takeover the RAS Connection Broker that is installed on the server, if installed. If this parameter is omitted and the RAS Connection Broker is installed, this service will not be taken over.
<CommonParameters>
-none-
---------- EXAMPLE 1 ---------- New-RASBroker "server.company.dom" Adds the specified server to the Licensing Server site as a RAS Connection Broker. The agent software will be installed on the server automatically. To add a RAS Connection Broker to a specific site, add the -SiteId parameter.