When attempting to run this script with the expected certificate thumbprint in lower or upper case, separated by spaces as indicated in the documentation, there are no matches. Matching only appears to work if the thumbprint is submitted in caps and in blocks of 4 characters separated by colons.
This has been verified by running the script against a service on a port serving a known certificate, and using --script-trace and -d9 to view the script output.