Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

list all shared folders a user has acces to

Posted on 2016-09-13
3
Medium Priority
?
125 Views
Last Modified: 2016-09-22
Dear All,

I have shared folders on my server and a couple of users have access to the shared folders. I need, from a username to get a list of all shared folder the user have access to?.
I would like to do that with powershell, any help?

Thks

JJC
0
Comment
Question by:celmajj
3 Comments
 
LVL 14

Expert Comment

by:Don Thomson
ID: 41796794
If you log into the server with each username - Go to network and click on the server - you will see the shares.
0
 

Author Comment

by:celmajj
ID: 41797030
Thks. But this is not the answer I was expecting. I need to do this via a powershell script.
0
 
LVL 40

Accepted Solution

by:
Subsun earned 2000 total points
ID: 41798137
You can use the script from TechNet to list shared folder permissions, and filter based on user name.

https://gallery.technet.microsoft.com/scriptcenter/Lists-all-the-shared-5ebb395a
0

Featured Post

Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

877 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