lots to choose from here:
you may need to customise slightly so that the attributes you wish, are included in the output
dedicated scripting forum is here: http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)
for Windows Powershell please ask in http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/threads
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://msmvps.com/blogs/mweber/
Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
Thank you Don,
I found below link useful. Can you advice how to run the script OU level
Mr. Sukhija has modified his script to export the details from OU level. Please find it in the link below