We are looking at reducing the number of tcp/udp ports on our exchange server because of compliance and we don't use OWA. Is there a way to remove OWA and all it's port from the server. I did see how disable OWA but was not sure if that would remove the ports that go along with OWA. We need to do this for compliance and only for compliance.
Command to disable the OWA:
set-casmailbox -Identity "user" -OWAEnabled $false
Jonathan Brown