Scan your systems to see if they are vulnerable to eternalblue, or worse, if they are already infected. This project is made in java with eclipse and is based in nixawk's script
java -jar scanner.java <ip>
C:\Desktop> java -jar scanner.jar 192.168.0.17
----ETERNALBLUE SCANNER----
OS: Windows 5.1
Host is likely VULNERABLE to MS17-010!