You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on implementing some Wmi operations in my cpp code.
Example of an operation I would like to do is
Add a physicalDisk with deviceId 3 to storage pool with a friendlyname "TestStoragePool". Now the AddPhysicalDisk method of StoragePool class takes PhysicalDisks as input.
I was exploring the existing methods available in the repo and the executeWmiMethod currently only takes the class name and method names as params along with a map of params to be passed further to ExecMethod. I am looking to add how I can pass objects and conditions like deviceId and StoragePool.
Looking for guidance around how to achieve this, would be happy to contribute back if additional work is needed for adding support.
The text was updated successfully, but these errors were encountered:
Hi saupallucidity, this lib unfotunately is only able to read data from WMI you can not (yet) execute methods on WMI objects.
But you are very welcome to dig into my code and come up with a possible solution on how to accomplish this.
I already wanted to implement this but it seemed to be very complex and there were no requirements for it yet
I am currently working on implementing some Wmi operations in my cpp code.
Example of an operation I would like to do is
Add a physicalDisk with deviceId 3 to storage pool with a friendlyname "TestStoragePool". Now the AddPhysicalDisk method of StoragePool class takes PhysicalDisks as input.
I was exploring the existing methods available in the repo and the executeWmiMethod currently only takes the class name and method names as params along with a map of params to be passed further to ExecMethod. I am looking to add how I can pass objects and conditions like deviceId and StoragePool.
Looking for guidance around how to achieve this, would be happy to contribute back if additional work is needed for adding support.
The text was updated successfully, but these errors were encountered: