SMBv1 (client and server)
Detect:
Get-WindowsOptionalFeature -Online -FeatureName smb1protocol
Disable:
Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol
Enable:
Enable-WindowsOptionalFeature -Online -FeatureName smb1protocol
Daily Notes of a Programmer