Posts

Showing posts from May 25, 2007

Extract User list from AD

Use Joe Richard's ADFind at http://www.joeware.net

adfind -gc -b -f "&(objectclass=user)(ObjectCategory=person)(whenCreated>=20070101000000.0Z)(whenCreated<=20070525235959.0Z)" createTimeStamp

Way to list specific folder size and send it on email as a txt attachment

I used DirUse with a batch file as follows:

**************************************************************************************
diruse /s /k /q:50 \\ComputerName\c$\test > c:\data.txt
commail -host=ExchangeServer.DomainName.com -from=EmailAddress@DomainName.com-to=EmailAddress@DomainName.com -subject=FolderSize -msg=c:\data.txt

**************************************************************************************
That worked Great.

commail is what I use to send email. If you need it, email me.