getWMI to CommonFunctions class