Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to "Get Owner of Folder"?

Status
Not open for further replies.

bran2235

IS-IT--Management
Feb 13, 2002
703
US
Hello!

We keep our AD Profiles (H:\ Drive) on a NetApp Filer 3020. Can anyone recommend a script that I can run to retrieve who has ownership of these folders? I would run this from my workstation....


Thanks!
Brandon
 
***map a drive, then change the focus to it.***

Open a command console, change to the directory in question, and then type DIR /Q. The output from this command lists the names of owners in one column, and the names of objects in the next.
 
LOL, forgot the /S...then I would also recommend outputting to an excel file DIR /S /Q >c:\Excel.xls
 
Awesome. you guys rock!

Thanks,
Brandon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top