
How to detect, enable and disable SMBv1, SMBv2, and …
Here are the steps to detect, disable and enable SMBv1 client and server by using PowerShell commands with elevation. Note The computer will restart after you run the PowerShell commands to disable or enable SMBv1. Detect: PowerShell Copy Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol Disable: PowerShell Copy