Summary: Learn how to close open SMB file shares in Windows 8.1 with Windows PowerShell.
How can I use Windows PowerShell to close a number of SMB file shares that I have open?
Open the Windows PowerShell console with admin rights, and
use the Close-SMBOpenFile function:
Close-SmbOpenFile
To avoid prompting, use the –Force parameter:
Close-SmbOpenFile -Force
0 comments