SyntaxFix
Write A Post
Hire A Developer
Questions
With PowerShell 5.1 in Windows 10 you can use:
Get-SmbMapping | Remove-SmbMapping -Confirm:$false