Solved

list all shared folders a user has acces to

Posted on 2016-09-13
3
81 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 500 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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