This is the built-in help made by Microsoft for the command 'Remove-SmbMapping', in PowerShell version 4 - as retrieved from
Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Removes the Server Message Block (SMB) mapping to an SMB share.
Remove-SmbMapping [[-LocalPath] <String[]>] [[-RemotePath] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-Force] [-PassThru] [-ThrottleLimit <Int32>] [-UpdatePro
file] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-SmbMapping [-AsJob] [-CimSession <CimSession[]>] [-Force] [-PassThru] [-ThrottleLimit <Int32>] [-UpdateProfile] -InputObject <CimInstance[]> [-Confirm] [-WhatI
f] [<CommonParameters>]
The Remove-SmbMapping cmdlet removes the Server Message Block (SMB) mapping to an SMB share.
<
Online Version:default is "Y"):
This example removes an SMB mapping to an SMB share.
EXAMPLE 2
PS C:\>Remove-SmbMapping -RemotePath \\Contoso-SO\VMFiles -Force
This example removes an SMB mapping to an SMB share without user confirmation.