Active Directory Tools

JaysonJackson
JaysonJackson used Ask the Experts™
on
I am running A/D  on windows 2008 R2 along with Exchange 2010 (exchange is on a different server windows 2008 R2). We have 150 users with 40 user working remote that only use OWA and never logon to the domain.  I am looking for an Active Directory tool provide a minimum the following that will do the following.

First name ,Last Name, Email address, User Logon Name,Password Never expires (if checked),      Profile path, logon Script, home folder, Date password was changed, Last Logon

The other part of this (the first section I need as fast as you can get it)  I have several remote users that Only user Outlook Web Access.  I need a way to notify them via e-mail that their password will expire in 5 days, then  4 days and so on.  

any help is appreciated
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
The following should do it for you. This assumes you have the quest cmdlets installed.

http://www.quest.com/powershell/activeroles-server.aspx


get-qaduser * -includeallproperties | select-object firstname, lastname, email, samaccountname, passwordneverexpires, profilepath, logonscript, homedirectory, passwordlastset >> C:\file.txt
Fixed to add last logon.


get-qaduser * -includeallproperties | select-object firstname, lastname, email, samaccountname, passwordneverexpires, profilepath, logonscript, homedirectory, passwordlastset, lastlogontimestamp >> C:\file.txt

Author

Commented:
thank you worked like a champ

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial