Web-Based Enterprise Management (WBEM) is a set of systems management technologies developed to unify the management of distributed computing environments. WBEM is based on Internet standards and DMTF open standards: CIM infrastructure and schema, CIM-XML, CIM operations over HTTP, and WS-Management. Although the name refers to WBEM as being "Web-Based", it is not necessarily tied in any way to a particular user interface.
Questions tagged [wbem]
44 questions
8
votes
2 answers
Receive notification when RegistryKey Value was changed
I want a notification when a specific RegistryKey in HKEY_CURRENT_USER is changed.
So far I tried this via WMI with no success:
var query = new WqlEventQuery(string.Format(
"SELECT * FROM RegistryKeyChangeEvent WHERE Hive='{0}' AND KeyPath='{1}' AND…

RoXX
- 1,664
- 1
- 24
- 28
3
votes
2 answers
Can ManagementScope be used to send wbem queries to Linux / MacOS clients from Windows? C#
I'm currenty using C# and ManagementScope to connect to and run WMI queries on Windows machines on my network, and got this to work.
What I was wondering, and had some trouble finding information about, was if ManagementScope could be used to run…

Avilan
- 161
- 1
- 4
- 10
3
votes
2 answers
Debugging (Tracing) WMI queries?
I've got a third-party program that's making WMI queries to local WMI providers (so it's not using DCOM, so packet-sniffers are out). I'd like to find out what queries these are.
It's also on XP, so the new Vista WMI tracing infrastructure is out,…

Roger Lipscombe
- 89,048
- 55
- 235
- 380
3
votes
1 answer
IBM i (as400) CIM and ethernet interfaces
I'm trying to check Ethernet cards status on a remote IBM i (as400) machine with the wbemcli command :
wbemcli -nl ei ".../root/cimv2:IBMOS400_EthernetPort"
Tons of fields seem to describe the card's status, most of them empty…

user3262284
- 63
- 6
3
votes
2 answers
Open Pegasus 2.14.1 client connection issue
I would like to build new version of Open Pegasus Client (2.14.1). Unfortunately I'm facing with some build issues. Does anybody know some workaround for these issues?
My environment is:
OS: Windows 8.1 Enterprise
Make version: GNU Make…

Lukas Huf
- 41
- 7
3
votes
2 answers
Possible to access WMI through ADO?
Is there an OLEDB provider for WMI/WBEM?
In other words, could someone access WMI through:
ADO in shell vbscript
ADO in ASP script
ADO in Win32 native process
SQL Server linked server
SQL Server OPENROWSET()
Is there an OLEDB provider for…

Ian Boyd
- 246,734
- 253
- 869
- 1,219
3
votes
2 answers
How do I associate instances in xmlCIM?
I am using the Common Information Model (CIM) to model an infrastructure. The model describes a number of classes for different IT systems. It is comprehensive, so that it consists of a series hierarchies rather than one. For example, to represent a…

Ian Gibbs
- 136
- 1
- 6
2
votes
1 answer
set PolicyStore in CIM instance
the Get-NetFirewallProfile cmdlet has the option -PolicyStore ActiveStore which is the sum of all policies on that computer. When I run it I get the firewall profile state with GPO taken under consideration.
Alternatively I can get the CIM instance…

Maor Dahan
- 356
- 4
- 8
2
votes
1 answer
wbemcli: key/value pair output
If I use wbemcli to enumerate all the instances I get something similar to this:
wbemcli -nl -t -noverify ei 'https://aaa/aaa:aaa'
https://aaa/aaa:aaa.Version="",Vendor="",Name=""
-Version#=""
-Vendor#=""
-Name#=""
-Description=""
How can I call…

slybloty
- 6,346
- 6
- 49
- 70
2
votes
2 answers
How to get a count of ManagementObjects (WMI results) without enumerating through the collection in .NET
When querying for large ammount of data through WMI (say the windows events log Win32_NTLogEvent) it is very useful to know what kind of numbers you are getting yourself into before downloading all the content. Is there a way two do this?
From what…

Mark
- 5,223
- 11
- 51
- 81
2
votes
2 answers
CIM/WBEM Packages which Provide SMI-S Compliant Client APIs
How can I determine if a CIM/WBEM package e.g. OpenPegasus, OpenWBEM, pyWBEM, SBLIM provide
SMI-S compliant client APIs to develop and management application.
These all are CIM compliant but I could not find out whether SMI-S is supported.
And how…

anukalp
- 2,780
- 5
- 15
- 24
2
votes
0 answers
Strange wbem issue
I've been working on a xinput+directinput implementation in a qt app I'm writing. Anyways, based on some sample code I have a basic WBEM setup to determine whether a device is xinput or not. Problem is IWbemLocator_ConnectServer while returning S_OK…

Theo Berkau
- 15
- 4
2
votes
0 answers
WMI - two way authentication
I've been unable to find this information on MSDN. How can I implement two-way authentication for WMI (or, if that is not possible, using Windows' implementation of WBEM?).
What I want to accomplish is for the client to authenticate the server, and…

Will I Am
- 2,614
- 3
- 35
- 61
2
votes
1 answer
Scheduled Task for script vs Direct Execute: issues
I have a VBscript file which connects to remote computers over our network and initiates a WBEM-Scripting method. I can open a CMD console using the credentials for a domain user account which has local admin rights on all of our desktop computers,…

Skatterbrainz
- 1,077
- 5
- 23
- 31
1
vote
1 answer
Inno Setup: Inherited OLE-Object properties not accessible?
I followed this question's accepted answer to query the machines network adapters. It finally worked but I still face a problem reading the values of these…

Sebastian Götz
- 459
- 7
- 15