So we have Exchange Hub Transport servers in US and Europe. One of the tasks we sometimes need to carry out is searching the Message Tracking log for users sending and receiving messages and so on.
We often have to search all Hubs globally.
The below is an example:
Get-TransportServer | Get-messagetrackinglog -sender email@example.com -recipients firstname.lastname@example.org
It would be useful to add the -Start or -End dates to the search, but how does this work if we are searching between Hubs that use a different date format?
For example, if I wanted to search for messages from user1 to user2 after April 16th 2011, then this causes a problem. The US servers would have this as 4/16/2011 however the Europe servers would have this as 16/4/2011. If I check servers Regional Settings, then we can see that they use different date formats.
What do we need to do?