Hey guys.

I have been struggling to get a script together for reporting of accounts.
Basically I need a script that will do the following.

Get all accounts on the server, by domain.
Then once it has all the accounts by domain, it must get the following information:
Account quota, account quota in use, account active state (active / suspended), archving (yes / no)

Please if you could help I would appreciate it.

Thanks in advance.