As a bit of break from the EWS powershell series here is an interesting script that will show a Google Map of the location(s) of your CAS server's if you have them (In multiple Geographically locations) and the AD Site that the CAS Server is located in has the location property set in a format that can be Geo-coded by the Google maps API. For this script to work you must have set the Location property of the AD site where your CAS is located in and it needs to be formatted in a Geo-code format. eg street, city, state, zip you can test it with http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html eg my settings looked like So lets look at how the script works first we have a Get-ClientAccessServer loop Get-ClientAccessServer | foreach-object{ The next thing the script does is jumps out to use ADSI to access the server object for the CAS $soSvrObject = [ADSI]("LDAP://" + $_.DistinguishedName.ToString()) This script then uses ADSI to grab...
Pushing the Envelope in Messaging and Office 365 Development