Discover monitors and dockings stations connected to a computer, servicenow discovery

soerenglas
Kilo Explorer

Hello,

I am new to servicenow and my Question ist, wether it is possible to discover monitors and dockingstations connected to a computer, with servicenow discovery. And if so, to add them to AssetManagement

1 REPLY 1

poyntzj
Kilo Sage

you can via WMI get the monitors. Some at my current client said a tool he had previously used did this.  I may have to look at adding (powershell / WMI)

 

https://blogs.technet.microsoft.com/heyscriptingguy/2013/10/03/use-powershell-to-discover-multi-monitor-information/

a Get-WmiObject win32_SystemEnclosure may work

At home my laptop is docked and that shows me an SMBIOSAssetTag, on another that is not I have "No Asset Information"

Other have suggested looking at the win32_PNPEntity and a filter, but you would need to know the entities which is a nightmare