Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 7579

How to find list of shares being accessed by a user

$
0
0

Hi,

Below PowerShell command shows number of users currently accessing a share.  Similarly, on Windows Server,  is there a way to find list of shares being accessed by a given user. 

PS C:\> Get-SmbShare | Select Name, Path, CurrentUsers

Name                                    Path                                                               CurrentUsers
----                                       ----                                                                 ------------
ADMIN$                              C:\Windows                                                              0
C$                                      C:\                                                                           0
D$                                      D:\                                                                           0
IPC$                                                                                                                  1
rmc                                     D:\rmc                                                                     2


PS C:\>

Regards/Susanta



Viewing all articles
Browse latest Browse all 7579

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>