Problem

Need to check if a Win7 system was patched for WannaCry/WannaCrypt issue.

Solution

Here is a VBS script to test this: