Reputation: 4883
I need an example of an update query using WMI. I have searched but I couldn´t find anything.
Can anyone paste some sample code if possible?
Thanks.
Upvotes: 6
Views: 1810
Reputation: 49998
Process Information and Notifications using WMI is an example of WMI.
The WMI Query Language (WQL) is read-only. There are no keywords such as INSERT
or UPDATE
. You cannot modify the WMI objects.
Upvotes: 5