I need to extract all distribution groups and their owners from an Active Directory domain and its sub domains (i.e. john.corp and suck.john.corp, bravo.john.corp, etc). How can I do this as a VBS or Powershell Script that exports this information to an Excel file? -- A citizen of The United States of Amnesia. How quickly we forget.
Take a look at the free PowerGUI tool over at »www.powergui.org . There are quite a few addons (they call them "power packs") that provide extra functions. The Active Directory power pack has report functions that may help you.