?
Solved

list all shared folders a user has acces to

Posted on 2016-09-13
3
Medium Priority
?
146 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

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The Windows Firewall provides an important layer of protection and a rich interface to configure it. Unfortunately, it lacks item level filtering. This article details my process of implementing firewall-as-code to reduce GPO bloat.
This article is divided into two sections. 1) First describes how you can connect to server / service / device with Username and secure password in powershell. 2) Second part is to use secure credentials and connect to vCenters which are in Link…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

569 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