Solved

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

Posted on 2011-03-03
7
919 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
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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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 500 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 70

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 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