Solved

get admin permissions list for folders and subfolders

Posted on 2014-10-15
1
179 Views
Last Modified: 2014-11-24
Hi Guys,

I need to find out the groups and users with read write access for a shared folder (netapp vfiler) and its subfolders. is there a powershell command that may use to gather this report?

thank you in advance.

regards,
Kelly
0
Comment
Question by:Kay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

by:
Miguel Angel Perez Muñoz earned 500 total points
ID: 40382040
Try this:
Get-ChildItem -recurse -attributes directory | select @{n='path';e='fullname'} | out-file directory.txt

foreach ($path in (get-content .\directory.txt)) {get-acl -path "$path"} | out-file permissions.txt

When foreach ends, you can delete directory.txt because is a temporary file. Permissions must be contain all acl on every folder. If you require more detail, can add before last out-file a | fl to select all attributes.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question