Accessing WMI can cause exceptions within a hosted environment. Catch and return Hosted