?
Solved

get admin permissions list for folders and subfolders

Posted on 2014-10-15
1
Medium Priority
?
191 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Suggested Courses

752 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