Learn about Windows PowerShell
Summary: Use Windows PowerShell 4.0 in Windows 8.1 to find open SMB file shares.
How can I use Windows PowerShell 4.0 to find open SMB file shares on my Windows 8.1 computer?
Open the Windows PowerShell console with admin rights, and use the Get-SMBOpenFile function to list all open SMB file shares:
I was going to use this...but I realized the machine I was working with had Powershell 2.0. Updating it wasn't an option at the time so using the standard command line "NET FILE" was a good enough alternative.
Great tip, thanks