?
Solved

script to get list of the user who have access to share folder

Posted on 2011-03-03
7
Medium Priority
?
923 Views
Last Modified: 2012-05-11
Hi Guys,

can any one help me with script to get list of all users with the Permissons rights of share folders now i got the poweshell command
(Get-Acl t:\dba).Access | Format-Table -wrap
but this will list all user which are not part of secuirty group and directly added for permisson and it also display security group

but what i need is to have list of all user including which are in securitu group

please HELP?
0
Comment
Question by:jitendra_raychura
[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
7 Comments
 
LVL 11

Expert Comment

by:yelbaglf
ID: 35033519
ShareEnum works well for me.  Does it look like what you need?
http://technet.microsoft.com/en-us/sysinternals/bb897442
0
 

Author Comment

by:jitendra_raychura
ID: 35047934
Sorry that's not i was looking
i was looking a script to find permission on the given folder and if within that we have folder which have security group in that it should list all the user within that security group
0
 
LVL 12

Expert Comment

by:prashanthd
ID: 35066777
Local Security Groups?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:jitendra_raychura
ID: 35076748
Yes Most of them are domain local Security Group
0
 
LVL 16

Accepted Solution

by:
Dale Harris earned 2000 total points
ID: 35121987
Try this:

$ACL = get-acl "C:\"
$ACL.access | %{$_.identityreference}

This will list all of the groups/users that are on the folder itself.

This question that I answered before also might help:
http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_26794846.html

HTH,

Dale Harris
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 35687972
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

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.
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

771 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