WMIUpdater - Testing Outside Octopus

Table of contents

If you are experiencing WMI connection problems, you can use wbemtest, a WMI testing tool included with Windows, to test the connection independently of Octopus.

Part 1: Test connectivity

  • To start wbemtest, enter wbemtest at the Start > Run command box

  • In wbemtest, click the "Connect" button.

  • Change root\cimv2 by \\COMPUTERNAME\root\cimv2 (where COMPUTERNAME is the name or IP of the host you want to connect to).

  • Click "Connect".

If you receive an error message at the stage, it is because the connection is not working. The error message might be useful for troubleshooting.

Part 2: Test information retrieval

  • Click the "Query" button

  • Enter this query: select * from win32_operatingsystem

  • Click "Apply".

The test succeeded if you get a dialog box called "Query Result". The test failed if you get a dialog called "Error". The error message might be useful for troubleshooting.

To create additionnal queries, use the following format:

  • select "name of properties to inspect" from "name of class to inspect".
  • Example:
    • To find the IP address field of the NetworkAdapterConfiguration class, use the following query
      • select IPAddress from Win32_NetworkAdapterConfiguration

Requests used to extract information to transfer to Octopus

  • select * from Win32_BIOS
  • select * from Win32_ComputerSystem
  • select * from Win32_OperatingSystem
  • select * from Win32_Processor
  • select * from Win32_VideoController
  • select * from Win32_NetworkAdapterConfiguration
  • select * from Win32_NetworkAdapter
  • select * from Win32_Desktop
  • select * from Win32_Printer
  • select * from Win32_DiskDrive
X
Help us improve our articles








Help us improve our articles