?
Solved

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

Posted on 2011-03-03
7
Medium Priority
?
926 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
6 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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 

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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

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.
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
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…
Loops Section Overview

850 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