Welcome, Guest. Please login or register.
May 21, 2012, 02:17:13 am

Login with username, password and session length
Welcome to the systemhound user community
* Home | Help | Login | Register
+  systemhound user community
|-+  systemhound
| |-+  systemhound 2009 (Moderators: Andrew Baker, Dee)
| | |-+  Central Configuration: Capturing serial number info using WMI
« previous next »
Pages: [1] Print
Author Topic: Central Configuration: Capturing serial number info using WMI  (Read 1257 times)
CBOCIT
Newbie
*
Posts: 2


« on: May 07, 2010, 12:02:54 pm »

I cannot seem to be able to select BIOS Serial Numbers by simply changing the default text in the WMI Query section of the Custom Information Retrieval window (Windows XP > Custom Computer Details > Custom Field Reporting > New Job). Not being familiar with the syntax, it is clearly not as simple as changing the items in the default text as follows (or in other ways trying to select different classes from WMI:
SELECT SerialNumber FROM Win32_BIOS Where Domain = '%COMPUTERNAME%'
I will get the following error at all attempts to change this: An error occurred whilst executing the query.
Please advise. Thank you.
Logged
Webmaster
Administrator
Full Member
*****
Gender: Male
Posts: 124



« Reply #1 on: July 03, 2010, 06:12:37 am »

Try the following which works

SELECT SerialNumber FROM Win32_BIOS

Win32_BIOS doesn't have 'domain' to select.. http://msdn.microsoft.com/en-us/library/aa394077(VS.85).aspx



Logged
CBOCIT
Newbie
*
Posts: 2


« Reply #2 on: July 06, 2010, 09:38:15 am »

Yes, that works. Thank you..
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!