Find users connected to all network shares
by Brian on Dec.03, 2021, under Computer Stuff, Windows Info
Needed this to determine which DFS namespaces that users were connecting to.
Get-WmiObject Win32_ServerConnection -ComputerName SERVERNAME | Select-Object ShareName,UserName,ComputerName