I need to write a quick powershell script to do the following agains SP 2007
- Show all the folders within a document library.
- Count the documents within each folder.
- Show the permissions on each folder within the document library.
Anyone got any ideas on how to do this?