Remove-RASAgent
SYNOPSIS
Removes one or more RAS Agents.
SYNTAX
Remove-RASAgent [-InputObject] <RASAgentInfo[]> [<CommonParameters>]Remove-RASAgent [-InputObject] <RASAgentInfo[]> -Password <SecureString> -Username <string>
[<CommonParameters>]Remove-RASAgent [-Server] <string> [[-SiteId] <uint>] [-Force <SwitchParameter>]
[<CommonParameters>]Remove-RASAgent [-Server] <string> [[-SiteId] <uint>] -Password <SecureString> -Username <string>
[-Force <SwitchParameter>] [<CommonParameters>]DESCRIPTION
Removes one or more RAS Agents.
EXAMPLES
Example 1
Removes the specified RAS Agent.
The RAS agent will be remotely uninstalled using your RAS admin credentials.
Example 2
Removes the specified RAS Agent.
The RAS agent will be remotely uninstalled from the server using the specified credentials.
Example 3
Removes the RAS agent represented by an object obtained from the pipeline output.
PARAMETERS
-Server
The name of the RAS agent server.
The name can be either FQDN or IP address, but you have to enter the actual name this server has in the RAS farm.
-SiteId
Site ID in which to modify the specified server.
If the parameter is omitted, the site ID of the Licensing Server will be used.
-Force
When 'Force' is passed, only the known info will be used and force the operation.
If the parameter is omitted, the RAS Agent info is retrieved with the supplied info.
-Username
An administrator account to remotely perform operation on the RAS agent from the server.
If this parameter is omitted, your RAS admin username (and password) will be used by default.
-Password
The password of the account specified in the Username parameter.
-InputObject
The RAS agent info.
To obtain an RASAgentInfo object representing an RAS agent info list, use the Get-RASAgent command."
Type reference: RASAgentInfo[]
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
RASAgentInfo[]
OUTPUTS
None
RELATED LINKS
Last updated