This is the built-in help made by Microsoft for the command 'Get-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.
Retrieves the Server Message Block (SMB) client directory mappings created for a server.
Get-SmbMapping [[-LocalPath] <String[]>] [[-RemotePath] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
The Get-SmbMapping cmdlet retrieves the Server Message Block (SMB) client directory mappings created for a server. This can be a mapping from a local drive letter to
a remote shared folder, or it can be a mapping without a local path.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=289512
New-SmbMapping
Remove-SmbMapping
<
EXAMPLE 1
PS C:\>Get-SmbMapping
Status Local Path Remote Path
------ ---------- -----------
OK X: \\Contoso-SO\VMFiles
OK Y: \\Contoso-FS\VMS1
This example retrieves the SMB client directory mappings created for the SMB server.
EXAMPLE 2
PS C:\>Get-SmbMapping -LocalPath X: | Select-Object - Property *
Status : OK
LocalPath : X:
RemotePath : \\Contoso-SO\VMFiles
PSComputerName :
CimClass : ROOT/Microsoft/Windows/SMB:MSFT_SmbMapping
CimInstanceProperties : {LocalPath, RemotePath, Status}
CimSystemProperties : Microsoft.Management.Infrastructure.CimSystemProperties
This example retrieves the SMB client directory mapping for the X: directory created for the SMB server.