Original Article: https://docs.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3
SMB v2/v3 on SMB Server
Check Status
Get-SmbServerConfiguration | Select EnableSMB2Protocol
________________________________________________________________
Disable
Set-SmbServerConfiguration -EnableSMB2Protocol $false
________________________________________________________________
Enable:
Set-SmbServerConfiguration -EnableSMB2Protocol $true