Write a cmd or powershell script to locate directories owned by or containing files created by a given AD user. Syntax as such:
findOwnerLocations ADUserID [start path]
Output a list of directories. One line per unique location. If multiple files are found in a directory, list that directory only one time.
Script will start in the current directory and traverse the tree below. Alternately, script will also take a second argument of a path to traverse instead of current directory. Script will display correct and relevant error messages. Script will run in an MS Server 2003+ environment.
Pay's on acceptance. Buyer and seller obtain mutual independent copyright. You can do whatever you like with it after, as can I.
Powershell script or cmd script ONLY.
This should only take a few hours, there is plenty of similar material available including this:
[url removed, login to view]
Thanks for helping
6 freelanceria on tarjonnut keskimäärin 27 $/tunti tähän työhön
It seems that a [url removed, login to view] batch file could do this with combinations of 'cacls', 'sort' and 'for' loops. If the output of 'cacls' is acceptable for comparison with your "AD user ID", perhaps that'll work.