The attached showMissingPatches.zip file contains a report XML file that you need to import into the SMP console before running the VBS file from a remote PC.
The VBS utilises the ASDK's web service to run the report.
Credit goes to Carsten Giese (ex-Product Leader Endpoint Management & Mobility, EMEA) for creating this ASDK example.