Summary: Use Windows PowerShell to remove mapping to a SMB file share.
How can I use Windows PowerShell in Windows 8.1 to remove mapping to an SMB file share?
Use the Remove-SMBMapping cmdlet, specify either the local path or the remote path,
and use the –Force parameter to suppress prompts:
Remove-SmbMapping -LocalPath j: -Force
0 comments