F
Fu Dong
I was wondering if there was an easy way to retrieve a Dell service tag
using Perl. I know it can be done using VBscript using WMI (windows
management instrumentation) and here's the code for VBscript just in
case someone was interested.
set WMI = GetObject("WinMgmts:")
'Show description of all services
set objs = WMI.InstancesOf("Win32_SystemEnclosure")
for each obj in objs
msgbox "Service Tag: " + obj.SerialNumber
using Perl. I know it can be done using VBscript using WMI (windows
management instrumentation) and here's the code for VBscript just in
case someone was interested.
set WMI = GetObject("WinMgmts:")
'Show description of all services
set objs = WMI.InstancesOf("Win32_SystemEnclosure")
for each obj in objs
msgbox "Service Tag: " + obj.SerialNumber