- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Windows Server 2003
- >
- Windows Management Instrumentation (WMI)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 10:01 AM
тАО06-16-2009 10:01 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 03:56 AM
тАО06-17-2009 03:56 AM
Re: Windows Management Instrumentation (WMI)
Try running this:
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_ComputerSystemProduct",,48)
For Each objItem in colItems
Wscript.Echo "Vendor: " & objItem.Vendor
Wscript.Echo "Version: " & objItem.Version
Next
Hope it helps.
Edgar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 06:42 AM
тАО06-17-2009 06:42 AM
Re: Windows Management Instrumentation (WMI)
Ran the class "Select * from Win32_ComputerSystemProduct" but only returns the serial of equipment (BIOS), not the data of the motherboard.
How do I run the query you sent?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 07:24 AM
тАО06-17-2009 07:24 AM
Re: Windows Management Instrumentation (WMI)
Save this within a file:
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_ComputerSystemProduct",,48)
For Each objItem in colItems
Wscript.Echo "Vendor: " & objItem.Vendor
Wscript.Echo "Version: " & objItem.Version
Next
Name the file VendorNVer.vbs or whatever.
The file should be .vbs file though.
Then, you Start - run - cmd and then press enter.
Type the following
cscript VendorNVer.vbs and then press enter.
Hope it helps.
Edgar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 07:49 AM
тАО06-17-2009 07:49 AM
Re: Windows Management Instrumentation (WMI)
Run the query, get the manufacturer's name and version of the equipment I need is the serial of the motherboard, and whether HP will provide such detail for software inventory.
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 08:05 AM
тАО06-17-2009 08:05 AM
Re: Windows Management Instrumentation (WMI)
Both tools can tell you the S/N of the motherboard.
Just be aware that whenever you change the iLO card or the motherboard itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 08:16 AM
тАО06-17-2009 08:16 AM
Re: Windows Management Instrumentation (WMI)
Edgar if you have any solution I am very grateful.
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 12:08 AM
тАО06-18-2009 12:08 AM
Re: Windows Management Instrumentation (WMI)
Finally got it, check this out.
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_ComputerSystemProduct",,48)
For Each objItem in colItems
Wscript.Echo "S/N: " & objItem.IdentifyingNumber
Next
Plus, here's a 30-day trial period software that can do the inventory job for you.
http://www.softinventive.com/downloads/tni-setup.exe
I know this tool can be used to retrieve SN, Server maker and model among other data.
It's called Network Asset tracker.
Hope it works.
Edgar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 12:31 AM
тАО06-18-2009 12:31 AM
SolutionBe aware that if you change the system board, iLO card or battery you need to make sure that the same SN remains the same in the NVRAM.
I didn't know this myself, so here you'll find really valuable information I strongly recommend reading:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1204890
Hope it helps.
Edgar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 10:45 AM
тАО06-18-2009 10:45 AM
Re: Windows Management Instrumentation (WMI)
Had this process of inventory, as HP does not provide the serial number of your motherboard for software inventory, only newer equipment, thank you for help, even once.
Jackson