Check MS Exchange autodiscover SRV record with nslookup

Just a simple check to see if a domain has its autodiscover record correctly configured in DNS.

Find inactive exchange accounts

A simple oneliner to show last logontime for each mailbox.

In a multitenant environment you could do this to list all users in all organizations