USEFUL DNS COMMAND
SET
"net user userid /do" command will give many basic info in AD
Mail Box Location
dsquery * -filter sAMAccountName="userid" -attr msExchHomeServerName"
Sip ID
dsquery * -filter sAMAccountName="userid" -attr msRTCSIP-PrimaryUserAddress"
Active Sync Status
dsquery * -filter sAMAccountName="userid" -attr msExchMobileMailboxFlags"
Active Sync Policy
dsquery * -filter sAMAccountName="userid" -attr msExchMobileMailboxPolicyLink"
BAND
dsquery * -filter sAMAccountName="userid" -attr SapCareerGroup"
LYN OUT SIDE ACCESS
dsquery * -filter sAMAccountName="userid" -attr msRTCSIP-InternetAccessEnabled"
FEDERATION
dsquery * -filter sAMAccountName="userid" -attr msRTCSIP-FederationEnabled
OFFICE 365 SMTP
dsquery * -filter sAMAccountName="userid" -attr proxyAddresses"
DATE OF ID CREATION
dsquery * -filter sAMAccountName="userid" -attr whenCreated"
DATE OF JOINING
dsquery * -filter sAMAccountName="userid" -attr doj