Thanks, that should be super useful and simple. However when running that against a user with a mailbox I get the following error.  
""Closing remote server shell instance failed with the following error message : The page cannot be displayed because an internal server error has occurred. For more information, see the about_Remote_Troubleshooting Help topic."  
Is this an exchange error or an ADAxes error?