Solved

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

Posted on 2011-03-03
7
916 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article will help you understand what HashTables are and how to use them in PowerShell.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now