Book description
Get the inside track on how to write system administration scripts with Windows Management Instrumentation (WMI), straight from Microsoft scripting experts. This practical learning guide teaches how to use WMI scripting techniques to gain control over your Microsoft Windowsâ??based, IIS-based, and Microsoft Exchange Serverâ??based environmentsâ??all at your own pace.
Build practical skills on everything from understanding the ins and outs of WMI and producing your first WMI Script to writing advanced WMI scripts that automate the management of systems, network services, files, printers, the registry, network services, and more. The companion CD features the complete eBook, 140 sample scripts, and timesaving scripting tools, plus more than 500 bonus scripts!
Table of contents
- Cover
- Contents at a Glance
- Table of Contents (1/3)
- Table of Contents (2/3)
- Table of Contents (3/3)
- Acknowledgments
- About This Book
-
Part I: Getting Started with WMI
-
Chapter 1: Introducing WMI
- Before You Begin
- Defining WMI
- Querying and Starting a Service
- Capturing the Return Code
- Using WMI as a Tool
- Implementing Microsoft WBEM
- Describing Objects Using the CIM (1/2)
- Describing Objects Using the CIM (2/2)
- Implementing Programming Interfaces
- Using the WMI Architecture
- Using Managed Objects and Providers
- WMI Infrastructure
- Summary
- Quiz Yourself
- On Your Own
-
Chapter 2: Configuring WMI
- Before You Begin
- Understanding the WMI Control Snap-in
- Configuring Logging
- Backing Up the WMI Repository
- Restoring the WMI Repository
- Changing the Target of Operations
- Understanding Registry Settings
- Using the CIM Object Manager
- Implementing Providers
- Automatically Recovering Providers
- Exploring WMI Settings with WMI
- Summary
- Quiz Yourself
- On Your Own (1/2)
- On Your Own (2/2)
-
Chapter 1: Introducing WMI
-
Part II: WMI Queries and Events
- Chapter 3: Using Basic WMI Queries
-
Chapter 4: Using Advanced WMI Queries
- Before You Begin
- Using __Class
- Using ISA
- Scripting API Objects
- Using the associators of Command
- Using the references of Command
- Using the ExecQuery Method
- Using the Get Method (1/2)
- Using the Get Method (2/2)
- Introducing New Objects in Windows XP and Windows Server 2003
- Summary
- Quiz Yourself
- On Your Own
- Chapter 5: Using WMI Events
-
Part III: Connect Server and Additional Privileges
- Chapter 6: Using the SWbemLocator Methods
- Chapter 7: Requesting Additional Privileges for WMI
-
Part IV: Classes
- Chapter 8: Understanding WMI Classes
- Chapter 9: Using Win32 WMI Classes
- Chapter 10: Using System Hardware Classes
-
Chapter 11: Using Operating System Classes
- Before You Begin
- Using the COM-Related Classes
- Examining the Desktop
- Listing the Drivers on a System
- Exploring the File System
- Understanding Job Objects
- Working with Memory Devices and Page Files
- Using the Multimedia Audiovisual Class
- Working with Networking
- Using Operating System Events
- Examining Operating System Settings
- Employing the Process Classes
- Working with the Registry
- Leveraging the Scheduler Job Classes
- Using the Security Classes
- Using the Service Classes
- Working with Shares
- Starting with the Start Menu
- Monitoring Storage
- Understanding User Classes
- Leveraging the Windows NT Event Log
- Easing Windows Product Activation
- Summary
- Quiz Yourself
- On Your Own
- Chapter 12: Using the Performance Counter Classes
-
Part V: Security and Troubleshooting
- Chapter 13: Understanding WMI Security
- Chapter 14: Troubleshooting WMI
-
Part VI: Appendixes
- Appendix A: Scripting API Methods and Properties
- Appendix B: WMI Security Constants
- Appendix C: WMI Security Privileges and Operations
- Appendix D: Computer System Hardware Classes (1/2)
- Appendix D: Computer System Hardware Classes (2/2)
- Appendix E: Operating System Classes (1/4)
- Appendix E: Operating System Classes (2/4)
- Appendix E: Operating System Classes (3/4)
- Appendix E: Operating System Classes (4/4)
- Appendix F: Performance Monitor Classes (1/2)
- Appendix F: Performance Monitor Classes (2/2)
- Index (1/4)
- Index (2/4)
- Index (3/4)
- Index (4/4)
- About the Author
Product information
- Title: Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide
- Author(s):
- Release date: October 2005
- Publisher(s): Microsoft Press
- ISBN: 9780735622319
You might also like
book
Microsoft® Windows® Scripting Self-Paced Learning Guide
Get the inside track on how to write system administration scripts—straight from Microsoft scripting experts. This …
book
Microsoft Windows 2000 API SuperBible
Following in the tradition of the Win 95 and Win32 NT SuperBibles, this book is a …
book
Win32 System Services: The Heart of Windows® 98 and Windows® 2000
The Win32 best-seller, fully updated for Windows 2000 and Windows 98! Master every key Win32 system …
book
Instant Windows PowerShell 3.0 Windows Management Instrumentation Starter
Explore new abilities of Powershell 3.0 to interact with Windows Management Instrumentation (WMI) through the use …