I have a Exchange 2010 server which has failed a PCI compliance scan during PEN testing.
I need to apply the fix detailed below, which uses appcmd.exe. I have little knowledge of IIS.
suggested cmd is:
appcmd.exe set config -section:system.webServer/
Before I run this cmd I want to find out if my server has an existing alternateHostName and if so what it is. This is essentially because I want to be able to return be install to it current state in the event this fix causes side effects.
How can I use appcmd.exe [supply code] to find the alternateHostName?