
This command retrieves the connections established from the SMB client to the SMB server named Contoso-FS.


Example 2: Get connections from an SMB server PS C:\>Get-SmbConnection -ServerName Contoso-FS | Select-Object -Property *ĬimClass : ROOT/Microsoft/Windows/SMB:MSFT_SmbConnectionĬimInstanceProperties : ĬimSystemProperties : This command retrieves the connections established from the SMB client to the SMB servers. Contoso\Contoso-HV1$ 3.00 1Ĭontoso-SO VMS3 NT VIRTUAL MACHI. This article is not an exhaustive troubleshooting. SMB troubleshooting can be extremely complex. The primary purpose of the SMB protocol is to enable remote file system access between two systems over TCP/IP. Contoso\Contoso-HV1$ 3.00 5Ĭontoso-SO VMS3 Contoso\Contoso-HV1$ Contoso\Contoso-HV1$ 3.00 1Ĭontoso-SO VMS3 NT VIRTUAL MACHI. Server Message Block (SMB) is a network transport protocol for file systems operations to enable a client to access resources on a server. Contoso\Contoso-HV1$ 3.00 3Ĭontoso-FS VMS1 Contoso\Contoso-HV1$ Contoso\Contoso-HV1$ 3.00 1Ĭontoso-FS VMS1 NT VIRTUAL MACHI. ServerName ShareName UserName Credential Dialect NumOpensĬontoso-FS1 VMS5 Contoso\Contoso-HV1$ Contoso\Contoso-HV1$ 3.00 1Ĭontoso-FS1 VMS5 NT VIRTUAL MACHI. Examples Example 1: Get connections from an SMB client to SMB servers PS C:\>Get-SmbConnection Users can connect to an SMB share using credentials different than the associated logon credentials so that there will be a connection listed per share per user logon per credential used.

The Get-SmbConnection cmdlet retrieves the connections established from the Server Message Block (SMB) client to the SMB servers. In this article Syntax Get-Smb Connection Retrieves the connections established from the SMB client to the SMB servers.
