I'm trying to write a generic batch script to gather a bunch of security settings from various Windows 2000 computers. I'm almost done but i'm stuck on a couple of things:
1. How do I get the "user rights assignments" and "Security options" from the local security policy?
2. For IIS, is it possible to get a list of script mappings (ie: .printer, .asp, .idq, etc)
3. How do I get the list of users and their permissions in SQL Server 7 or 2000?
Being from the Linux world, i've been struggling to find a list of the more hidden Window commands but haven't had any success (I know about the ones listed when I type help - but not much more). I'm not sure how much of the above is actually possible through a batch script but your help is much appreciated.