Questions tagged [wbem]

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.

44 questions
0
votes
0 answers

How to use WBEM in dll launched by another DLL from different compiler?

I have a worker DLL(A) compiled by VC6 which using WBEM. And I want call function in DLL(A) from another DLL(B : compiled by VC2013). it crash on IWbemLocator :: ConnectServer(). And I have done some testing followed: EXE compiled by VC6 - >…
areslee
  • 37
  • 4
0
votes
1 answer

MofComp Subscription not Working and Saved File Acting Strange

I am trying to register this file (mytest3.mof) : #PRAGMA AUTORECOVER #pragma namespace("\\\\.\\root\\subscription") instance of __EventFilter as $EventFilter { Name = "Event Filter Instance Name"; EventNamespace = "Root\\Cimv2"; Query…
Bassie
  • 9,529
  • 8
  • 68
  • 159
0
votes
0 answers

Open pegasus association provider

I am developing a SMI-S provider using openpegasus, when I try cimserver "cimcli -n root/ift a CIM_StoragePool -i" console shows instance list of CIM_StoragePool, which means that enumerateInstanceNames method in Instance provider works, but, when…
0
votes
1 answer

How to retrieve CIM instances from a Linux host using WinRM?

I'm using WinRM API in an attempt to collect some CIM instances from several hosts running either Windows or Linux. My code works fine when connecting to a Windows host, but an exception is thrown if I try to connect to a Linux machine, which is…
w128
  • 4,680
  • 7
  • 42
  • 65
0
votes
1 answer

Is there an OS-independent way to map iSCSI name (iqn) to IP?

I have a series of iSCSI names (initiators) that typically look like this: iqn.yyyy-mm.naming-authority:unique name E.g. iqn.1991-05.com.microsoft:myPC I would like to programatically map such iSCSI names to their respective IP addresses and/or…
w128
  • 4,680
  • 7
  • 42
  • 65
0
votes
1 answer

Communicating with non-English WMI

I recently discovered that WMi is localized. This means that my WQL queries and returned results are sometimes incorrect because of commas/dots in numbers. Since there are many users with German/French/Japanese windows, this must be a problem…
JohnEye
  • 6,436
  • 4
  • 41
  • 67
0
votes
1 answer

WBEM OpenPegasus limits of instances enumeration

we are using C++ OpenPegasus library for getting data from storage array. It is version 2.13.0 compiled for Windows. I have problem with Enumeration of instances or instancePaths of storage array with a lot of objects. I got just…
Lukas Huf
  • 41
  • 7
0
votes
1 answer

Get CIM Data type from properties in WMI Classes with C#

So I've managed to write a class that allows me to access WMI and get information about classes, including their methods, and all of the properties of the classes and of their subsequent methods. I am unable to find anything in C# under the…
0
votes
1 answer

VBScript redirect remote exe output to local system

I am using vbscript to run an exe on a remote system. First i connect to the remote system. Set objSWbemServices = objSWbemLocator.ConnectServer _ (strComputer, "root\cimv2", _ strUser, strPassword) Then i create a process on the remote…
ayush
  • 14,350
  • 11
  • 53
  • 100
0
votes
2 answers

Yesterday afternoon I was able to access WMI, this morning I cannot access WMI, and vice versa

My powershell script determines the current user of a remote Windows 7 computer and will output userId=DOMAIN\username If there is no user currently logged on, the script will output userId=No One Currently Logged In And if the script cannot…
Glowie
  • 2,271
  • 21
  • 60
  • 104
0
votes
1 answer

Type Mismatch error when entering CIM_DATETIME in wbemtest

I'm trying to execute a WMI method using wbemtest.exe. I've selected the method in the select box, clicked the "Edit In Parameters", and I'm presented with "Object editor for __PARAMETERS". From there I select the parameter with type…
B Johnson
  • 2,408
  • 3
  • 20
  • 32
0
votes
1 answer

Does wbem query provide any guarantees on the order of results?

Does code such as WbemScripting::WbemObjectSet::ExecQuery("Select * from Win32_LogicalDisk","WQL",0x10,NULL); Provide any guarantees on the order in which results will be returned?
Sideshow Bob
  • 4,566
  • 5
  • 42
  • 79
0
votes
1 answer

"Generic Failure" _com_error calling WbemScripting::ISWbemServicesPtr::ExecQuery

The unhelpful "Generic Failure" error is thrown from the following line of code, when running in one process, but not in another. I can't figure out what's different between the processes (they both run 32-bit as…
Sideshow Bob
  • 4,566
  • 5
  • 42
  • 79
0
votes
1 answer

IWbemClassObject->Put method returning WBEM_E_NOT_FOUND error

I've got a block of C++ code in which I'm trying to call a company-specified WMI method. While attempting to build the IWbemClassObject representing the parameters, I get a WBEM_E_NOT_FOUND error message. According to the MSDN site, this should not…
Zach H
  • 469
  • 5
  • 18
1 2
3