Remove-RASBroker
NAME
Remove-RASBroker
SYNOPSIS
Removes a RAS Connection Broker server from a site.
SYNTAX
Remove-RASBroker [-Id] <uint> [-NoUninstall <SwitchParameter>] [<CommonParameters>]
Remove-RASBroker [-Id] <uint> -Password <SecureString> -Username <string> [<CommonParameters>]
Remove-RASBroker [-InputObject] <Broker> [-NoUninstall <SwitchParameter>] [<CommonParameters>]
Remove-RASBroker [-InputObject] <Broker> -Password <SecureString> -Username <string> [<CommonParameters>]
Remove-RASBroker [-Server] <string> [[-SiteId] <uint>] [-NoUninstall <SwitchParameter>] [<CommonParameters>]
Remove-RASBroker [-Server] <string> [[-SiteId] <uint>] -Password <SecureString> -Username <string> [<CommonParameters>]
DESCRIPTION
Modifies a RAS Connection Broker server 'Marked for Deletion'.
the RAS Connection Broker is removed once the Invoke-Apply command is called.
PARAMETERS
-Server <string> FQDN or IP address of the RAS Connection Broker server to remove.
This must be the actual server name used in the farm.
-SiteId <uint> Site ID from which to remove the RAS Connection Broker server.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id <uint> The ID of a RAS Connection Broker to remove.
To obtain the ID, use the command to Get-RASBroker.
-NoUninstall <SwitchParameter> Include this parameter if you wish to keep the RAS Connection Broker software on the server.
To uninstall the agent software, omit this parameter.
When uninstalling the agent, your RAS admin credentials will be used by default.
You can specify different credentials by including the Username and Password parameters.
-Username <string> A username that will be used to remotely uninstall the RAS Connection Broker software from the target server.
If this parameter is omitted, your RAS admin username and password will be used by default.
-Password <SecureString> The password of the account specified in the Username parameter.
-InputObject <Broker> An object of type Broker representing the RAS Connection Broker you wish to remove.
To obtain the object, use the Get-RASBroker cmdlet.
<CommonParameters>
INPUTS
OUTPUTS
-none-
EXAMPLES
---------- EXAMPLE 1 ----------
Remove-RASBroker "server.company.dom"
Removes the specified RAS Connection Broker server from the Licensing Server Site.
To remove the server from a specific site, include the -SiteId parameter.
RELATED LINKS
Last updated