Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Remove Mapping to Share

$
0
0

Summary: Use Windows PowerShell to remove mapping to a SMB file share.

Hey, Scripting Guy! Question How can I use Windows PowerShell in Windows 8.1 to remove mapping to an SMB file share?

Hey, Scripting Guy! Answer 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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>