Wildcard Service for SCOM 2019 and above

Hi Team,
Tried to use this Wildcard Service monitor Template in SCOM2019 but it just crashes and doesn’t work: Lior Armiev's SCOM Wildcard Service - SquaredUp DS

does anyone know if this works in SCOM 2019 and above, if not, is there any other wildcard monitor MP out there?