The next most common Mofcomp command is one in which you must specify the namespace
into which the MOF file will be compiled. This is as follows:
C:\mofcomp –N:root\myNameSpace myMofFile.mof
Using WMIchk
WMIchk.exe is a tool that was developed by Microsoft Premier Support Services to aid admin-
istrators in quickly gathering all the information they need to perform initial troubleshooting
of WMI configuration problems. The amount of information supplied by this tool can save
you hours of information gathering. It is included in the WMIcheck folder on the CD accom-
panying this book. To use the WMIchk.exe tool you, open a CMD prompt and type the follow-
ing command:
C:\>wmichk >wmiChk.txt
Open the WmiChk.txt ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.