Go to the Technet Script Repository and browse around. You'll see a number of examples of how to enumerate and loop through all disk drives on a particular system.
On 9/18/06, Tom Kern <[EMAIL PROTECTED]> wrote:
Actually, the real issue with these scripts, is that how does cacls.exe know how many drives are on each server? Say one server has a "C:" partition while another has a "C:" and "E:" and "F:",etc. How can I accurately enumerate all perms on all folders/files on all these servers/paritions via a vbscript? Thanks again. On 9/18/06, Tom Kern <[EMAIL PROTECTED]> wrote: > > > Thanks. > > What would be the best readable format to dump it to(for management).? > > > > > > > On 9/18/06, Brian Desmond <[EMAIL PROTECTED] > wrote: > > > > > > > > > > > > The Cacls command line tool and a VBScript to walk the tree (using FileSystemObject) will do the trick. ACLs aren't really spreadsheet type data IMHO. > > > > > > > > Thanks, > > > > Brian Desmond > > > > [EMAIL PROTECTED] > > > > > > > > c - 312.731.3132 > > > > > > > > > > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Kern > > Sent: Monday, September 18, 2006 1:49 PM > > To: activedirectory > > Subject: [ActiveDir] FIle/Folder ACL's(OT) > > > > > > > > > > > > Can someone direct me to a vbscript that I can run remotely which will dump the ACl's of all file/folders on a bunch of remote servers(250) to a central Excel spreadsheet? > > > > > > I assume using wmi. > > > > > > > > > > > > > > > > > > > > > > > > Thanks, sorry for the bother but I can't seem to be able to google anything deifinitive on this. > > > > > > > > > > > > > > > > > > > > > >
-- ----------------------- Laura E. Hunter Microsoft MVP - Windows Server Networking Author: _Active Directory Consultant's Field Guide_ (http://tinyurl.com/7f8ll) Author: _Active Directory Cookbook, Second Edition_ (http://tinyurl.com/z7svl) List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ml/threads.aspx