Checking for EternalBlue vulnerability (WannaCry and Petya) using PowerShell June 28, 2017 by Ingólfur Arnar Stangeland A quick PowerShell script to check your server environments for EternalBlue/WannaCry/Petya patching status: DontWannaCry.ps1