Here are some php scripts that I use to help generate reports and update settings. Very basic stuff really but I found myself looking up a lot of information at some points inorder to get the results I was after. Hopefully this will come in handy for others.
All Accounts
All Expired Accounts
Distribution List Email Addresses