WMI Automation Server with Navision

jwilderjwilder Member Posts: 263
I have been messing around within some WMI (Windows Management Instrumentation) scripting and find it quite useful. Is there an automation server for WMI that would allow me to expose these objects inside Navision? I think there is I just can't seem to find it in my automation servers.

Comments

  • jwilderjwilder Member Posts: 263
    I have found the automation server, it is called 'Microsoft WMI Scripting V1.2 Library'. Anyone ever used this before, I can't seem to Create the object ( CREATE(objWMIService); ) it fails to create.
  • garakgarak Member Posts: 3,263
    Start with WMILocator 'Microsoft WMI Scripting V1.2 Library'.SWbemLocator and then with 'Microsoft WMI Scripting V1.2 Library'.SWbemServices.
    But WMI and NAV is a little bit complex and not so easy like in vB.

    Complex WMI questions i create in VB (WSH) and call then the VB file (it's more easier).
    viewtopic.php?f=23&t=14282&hilit=WMI

    Here a link to the WMI MSDN http://msdn.microsoft.com/en-us/library/aa394582(VS.85).aspx
    Do you make it right, it works too!
Sign In or Register to comment.