I wrote this script to quickly check a computer to see if SMB1 is disabled on a computer. The script uses PowerShell remoting to check both the server and client SMB1 protocols are disabled. 

You need to disable SMB1 on your network. https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/ 

http://kb.bodhost.com/steps-to-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-servers/

https://support.microsoft.com/en-us/help/2696547/how-to-enable-and-disable-smbv1,-smbv2,-and-smbv3-in-windows-vista,-windows-server-2008,-windows-7,-windows-server-2008-r2,-windows-8,-and-windows-server-2012

 

Updated 5/16/2017 - added pipeline support

Updated 6/6/2017 - added support for checking SMB2 and SMB3 and credential objects

PowerShell
Edit|Remove
PS C:\> Get-SMBStatus -ComputerName SERVER01 
 
ComputerName     : SERVER01 
SMB1ServerStatus : Disabled 
SMB2ServerStatus : Enabled 
SMB3ServerStatus : Enabled 
SMB1ClientStatus : Disabled 
 
PS C:\> Get-SMBStatus -ComputerName server02 -Credential $Credential 
 
ComputerName     : SERVER02 
SMB1ServerStatus : Disabled 
SMB2ServerStatus : Enabled 
SMB3ServerStatus : Unsupported 
SMB1ClientStatus : Disabled