Moniker Security Settings
In many cases, the default security settings work just fine for the WMI moniker. In many example scripts, you will see the line impersonationLevel=impersonate in a script. This line is often not needed, because the default security setting for Microsoft Windows 2000, Windows XP, and Windows Server 2003 is set to the impersonation level to be equal to impersonate.
Note
When I first started using WMI in my scripting, I noticed lots of scripts had impersonationLevel=impersonate set, and it made me curious. After a lot of searching I found the other levels. However, when I tried to change the security settings, the script failed. ...
Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.