Hi
Whilst trying to locate stale AD accounts I have been using the following one-liner.
get-qaduser * -sizelimit 0 | select -property name,accountexpires,pass*,accountisdisabled,lastlog*,canonicalname
This gives me most of the info that I want but i do have users that never log into an account, but the accounts are required just for mail forwarding. So now I'm trying to extract all users from AD with that certian property also. The property I really need is the altrecipient property. This property is not included in Get-QADUser even if I force Powershell to look at a DC which is an exchange server (i'm using Exchange 2003 by the way).
Does anyone have any ideas how i might include this field along with the others I listed above?
Kind Regards
Lee