If you run get-wmiobject and it returns an error that says Object not found. Here’s how to fix it:
For Server 2003:
rundll32 wbemupgd, RepairWMISetup
For Server 2008:
If this doesn’t work, try renaming or deleting the repository:
First, you need to stop the WIN Management service
net stop winmgmt
Then, rename the existing WMI repository directory
Finally, Start the WMI service.
net start winmgmt
Beyond that you can try re-registering all of the DLLs and executables in the Wbem directory.