Solved

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

Posted on 2011-03-03
7
918 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

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.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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…

776 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