I just used this script to fix WMI and contentlib. But i also hade to clear the value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\DP\RunASAPTasks
Before i did this smsdpmon.exe would not run a full Content Validation of all packages, only on the packages in this RegValue.
EDIT: RunASAPTasks is a REG_MULTI_SZ so i dont Think you can search for PackagedID to find it.