Removing server 'WAP-03' from the Web Application Proxy cluster…
Get-EventLog -LogName "Web Application Proxy" -Newest 10
# 1. Get the current list and filter out the server to be removed $newServerList = (Get-WebApplicationProxyConfiguration).ConnectedServersName -ne "server2.domain.local" # 2. Update the configuration with the new list Set-WebApplicationProxyConfiguration -ConnectedServersName $newServerList Use code with caution. Copied to clipboard Step-by-Step Decommissioning
`Set-WebApplicationProxyConfiguration` and `Get-WebApplicationProxyConfiguration` respectively.* Use code with caution. Copied to clipboard 2. Decommission the Server Role
Remove Web Application Proxy Server From Cluster
Removing server 'WAP-03' from the Web Application Proxy cluster…
Get-EventLog -LogName "Web Application Proxy" -Newest 10
# 1. Get the current list and filter out the server to be removed $newServerList = (Get-WebApplicationProxyConfiguration).ConnectedServersName -ne "server2.domain.local" # 2. Update the configuration with the new list Set-WebApplicationProxyConfiguration -ConnectedServersName $newServerList Use code with caution. Copied to clipboard Step-by-Step Decommissioning
`Set-WebApplicationProxyConfiguration` and `Get-WebApplicationProxyConfiguration` respectively.* Use code with caution. Copied to clipboard 2. Decommission the Server Role