This is a little program that makes WScipt (windows script) that maps network drives on a windows computer. In Active Directory you can set this as a login script so that all your clients have the mapped network drive(s) that you have made.
Connects to Active Directory and retrieves a list of computer objects, queries for FSMO roles, and then connects to computer objects and queries for inventory information, outputting results to .csv file.