I want to know about how many people are in using a file shared on my computer and have full report about it.
For this purpose, go to File Server Manager like as picture one. In this section go to Run and type
and press enter. As you can see in picture, all of shared folders and number of clients in Shares part are visible. Also you can see the names of those who are connected to your computer in Sessions part and information about Open Files part.
As well as you can use
command in Windows cmd like as picture two.
There are two Powershell WMI classes that can be used to obtain this information as well. The
You can also view very specific connection information with the
The output of the command is piped through select dependent because it reports more information than you need for the purposes of this question. As such you can pipe it through
On our production file server, running the query returned 636 active connections. You can get a count by piping the output of the last command through
Hope you find this information useful.
I took this a little further... Here's something you can paste into PowerShell for output that's a little easier to read. You'll have to run PowerShell with elevated privileges to access the