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 7: Requesting Additional Privileges for WMI 151
Quiz Yourself
Q: What is required to use the Add method for obtaining elevated privileges?
A: To use the Add method to obta
in elevated privileges, you can either directly use the
numeric value of one of the WbemPrivilegeEnum constants or define your own constant
and set it equal to the integer.
Q: When adding a privilege as a string, how do you write the privilege?
A: When adding a privilege as a string, you write the privilege in the form of seprivilege-
name
privilege.
Q: When adding a privilege in the moniker, in w
hat form do you write the privilege?
A: When adding a privilege in the moniker, you drop the se prefix and the privilege
suffix
so you are left with only the privilege name. ...
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