tacticalrmm/scripts_wip/Win_SMB_version.ps1

10 lines
282 B
PowerShell
Raw Normal View History

2021-06-24 21:20:49 +00:00
# GET SMBv2 SERVER STATUS
Get-SmbServerConfiguration | Select EnableSMB2Protocol
# GET SMB Session versions
Get-SmbSession | Select-Object -Property ClientComputerName,ClientUserName,Dialect,NumOpens
#Install SMB1
Get-WindowsOptionalFeature Online FeatureName SMB1Protocol