6

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.

SwDevMan81
  • 48,814
  • 22
  • 151
  • 184
NicoRiff
  • 4,803
  • 3
  • 25
  • 54

2 Answers2

5

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.

SwDevMan81
  • 48,814
  • 22
  • 151
  • 184
0

Try the WMI Code Creator

Martin
  • 2,442
  • 14
  • 15