In this section, you are going to look at different ways of constructing the Windows Management Instrumentation (WMI) moniker string. There are essentially three parts to the moniker. Of the three parts, only one is mandatory. These parts are listed here:
The prefix winmgmts: (this is the mandatory part)
A security settings component
A WMI object path component
Just the Steps
To construct the WMI moniker
1.
Use the prefix WinMgmts:.
2.
Define the security settings component, if desired.
3.
Specify the WMI object path component, if desired.