Retrieving Bios version from computers in a windows 2000 domain 
Author Message
 Retrieving Bios version from computers in a windows 2000 domain

I am a new to WMI.
I am trying to retrieve bios version of every workstation
(particularly to see the ones that are not up to date) in our
production domain.
I will be grateful if anyone can help.
Regards
Sam


Sat, 27 Nov 2004 16:16:39 GMT  
 Retrieving Bios version from computers in a windows 2000 domain
Hi Sam,
the following helped me out some time ago ...

kind regards
        Bernd

set locator = CreateObject("WBEMScripting.SWBEMLocator")
set wmi =
locator.ConnectServer("myremoteserver","root/cimv2","myremoteuser","myremote
password")
                                'server , namespace, user , password

set objgrp = wmi.Get("Win32_Bios")

for each obj in objgrp.Instances_
 list = list & obj.Version & vbcrlf &_
 obj.Name & vbCrlf
next
 MsgBox list


Quote:
> I am a new to WMI.
> I am trying to retrieve bios version of every workstation
> (particularly to see the ones that are not up to date) in our
> production domain.
> I will be grateful if anyone can help.
> Regards
> Sam



Sat, 27 Nov 2004 16:46:40 GMT  
 Retrieving Bios version from computers in a windows 2000 domain

Quote:

> I am a new to WMI.
> I am trying to retrieve bios version of every workstation
> (particularly to see the ones that are not up to date) in our
> production domain.

Hi

Retrieve BIOS Information
http://www.microsoft.com/technet/scriptcenter/compmgmt/ScrCM39.asp

Replace "." with computername to make a remote call.

--
torgeir



Sat, 27 Nov 2004 17:02:16 GMT  
 Retrieving Bios version from computers in a windows 2000 domain

Bernd,
Thanks a lot
Regards
Sam

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sat, 27 Nov 2004 18:30:44 GMT  
 Retrieving Bios version from computers in a windows 2000 domain

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sat, 27 Nov 2004 18:30:43 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Add/join computer to Windows 2000 domain

2. Retrieving a list of computers in a domain under .NET

3. API calls for retrieving all the Workgroup/Domain/Computer names on the network

4. API calls for retrieving all the Workgroup/Domain/Computer names on the network

5. How to Retrieve Events For One Day From An Event Log on Windows 2000/NT

6. Replicating a Windows 2000 Domain

7. Logging on to an NT Domain in Windows 2000

8. Adding a Domain Global group to a machine local group in Windows 2000

9. Restricting printing use on Windows 2000 domain

10. Scripting Windows 2000 Driver Version Capture

11. Join a Win 2000 Professional to Win 2000 Domain

12. Display of Bios Version, Firmware Version and HDD-SerialNr

 

 
Powered by phpBB® Forum Software