NicoRiff
NicoRiff

Reputation: 4883

Updating via WMI

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

Answers (2)

SwDevMan81
SwDevMan81

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

Martin
Martin

Reputation: 2434

Try the WMI Code Creator

Upvotes: 0

Related Questions