Skip to Content
Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide
book

Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide

by Ed Wilson
October 2005
Beginner to intermediate
400 pages
12h 42m
English
Microsoft Press
Content preview from Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide
Chapter 14: Troubleshooting WMI 297
1. Check connectivity.
2. Check firewall issues.
3. Check rights/permissions.
4. Check DCOM settings.
Testing the Scripting Interface
After you have checked for local and remote WMI functionality, you might need to test the
scripting interface. To do this, check both the core WMI provider and the provider host inter-
face. You can use a script to do this. In the RetrieveWMISettings.vbs script, I use the Connect-
Server method from the SWbemLocator object because it is already set up to accept alternative
connections on a remote computer, which enables a fuller range of tests. I connect to the
Win32_WMISetting class. There is only one instance of the Win32_WMISetting class. I use the
at symbol (@) t
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.
Start your free trial

You might also like

Microsoft® Windows® Scripting Self-Paced Learning Guide

Microsoft® Windows® Scripting Self-Paced Learning Guide

Ed Wilson

Publisher Resources

ISBN: 0735622310Catalog PageErrata