Need to do some scripting to make some reports on ACLs on network shares. Should be an interesting project.
Since I’ve been job hunting, everyone seems to want someone that knows PowerShell. So, I have decided that I should attempt this endevor in PowerShell as a learning experience for myself. I’ve used it in automating Exchange 2007 tasks to make up for the rather thin GUI, but otherwise I’ve stuck to VBScript because it’s what I know.
Below is what I’ve come up with to start with. It enumerates all of the computer objects in the Directory and then enumerates all of the shares on each box. It then runs Get-Acl against each share.