Friday, November 5, 2010

VBscript for getting Computer Model using WMI system class

' Computer System Model
' -------------------------------------------------------'
Option Explicit
Dim objWMIService, objComputer, colComputer
Dim strComputer
'strComputer = "."
strcomputer = InputBox("Enter the PC Name")
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colComputer = objWMIService.ExecQuery _
("Select * from Win32_ComputerSystem")

For Each objComputer in colComputer
Wscript.Echo "System Name: " & objComputer.Name
Wscript.Echo "Model " & objComputer.Model
Next

WScript.Quit

' Enjoy

33 comments:

  1. The Windows Performance Index is a measure of the combined performance of all the components of a Windows Vista or a Windows 7 computer. Read: https://www.desktopcon.org/best-computer-for-college-student

    ReplyDelete
  2. a great framework will have appraisals from 10 Hz to 20,000 Hz, guaranteeing that you get the best interpretation of low (bass) just as high frequencies. Best dell all in one desktop computer 2022

    ReplyDelete
  3. Be that as it may, so as to get the best outcomes, you have to realize how to locate the best program for your circumstance.data discovery

    ReplyDelete
  4. Nice! you are sharing such helpful and easy to understandable blog. i have no words for say i just say thanks because it is helpful for me



    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery









    ReplyDelete
  5. I prefer merely excellent resources - you will see these people in: fridge compressor scrap

    ReplyDelete
  6. Thanks a lot for sharing such a good source with all, i appreciate your efforts taken for the same. I found this worth sharing and must share this with all.


    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery




    ReplyDelete
  7. I only stopped by to express your article is fantastic. The clarity of your Post is just spectacular, and I can assume you are an expert on this particular subject. Okay with your consent enable me to catch your RSS feed to stay current with approaching post. Thank you a thousand, and please keep the enjoyable work. hp photo 7855 setup

    ReplyDelete
  8. This combination of locales or countries of the world through this worldwide system has made the world to resemble a major town, where different countries resemble groups in this enormous town, while the Presidents of the different countries resemble heads of families in this large town. auto clicker no download

    ReplyDelete
  9. That is the path I followed to convert my knowledge in traditional marketing into digital skills. digital marketing training in hyderabad

    ReplyDelete
  10. Thanks for the blog post buddy! Keep them coming... asic miner

    ReplyDelete
  11. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Primavera Course in Chennai | primavera online training

    ReplyDelete
  12. I am happy to find this post very useful for me, as it contains lot of information. I always prefer to read the quality content and this thing I found in you post. Thanks for sharing.

    href="https://www.serviceonstreet.com/washing-machine-repair-service-hyderabad/">Best Washing Machine Repair Service in Hyderabad

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. buy twitch followers Technically flash games are interactive games created using the Adobe Flash software. Macromedia originally owned and developed the Flash software for use in animation programming and was being used to create movies and TV shows and complex business presentations. Soon after, Flash was picked up by programmers to create web-based interactive games.

    ReplyDelete
  15. Aimore Technologies is the best Selenium training institute in Chennai with 6+ years of experience. We are offering online and classroom training.
    Visit Us: Selenium Training in Chennai

    ReplyDelete
  16. Really informative article. Really looking forward to read more. Fantastic.
    read more - computer technicians

    ReplyDelete
  17. İnstagram takipçi satın al! İnstagram takipçi sitesi ile takipçi satın al sende sosyal medyada fenomen olmaya bir adım at. Sende hemen instagram takipçi satın almak istiyorsan tıkla:

    1- takipçi satın al

    2- takipçi satın al

    3- takipçi satın al

    ReplyDelete
  18. Starting your own laptop repair business at home can be a great way to earn some extra income or if you are unemployed, to just earn income. These days with businesses shutting down and others not hiring people, it is very hard to find a job and earn a decent living. The good thing is, if you are knowledgeable in computer repair, networking, or building custom computers, then you could turn your knowledge into cash.

    ReplyDelete
  19. In this Article, I offer a nostalgic look at the Early Lotus Elise Series 2, one of an elite group of classic cars, which was manufactured during the period 2000 to 2003.무직자대출

    ReplyDelete
  20. Like any industry, sports betting has its own set of terminology that you must familiarize yourself with in order to be a successful sports bettor. 먹튀검증

    ReplyDelete
  21. Microsoft Office 2010 Crack Lifetime activation will help the user to prepare all the office documents with ease. Office 2010 Activation Crack

    ReplyDelete
  22. This comment has been removed by the author.

    ReplyDelete
  23. Cute Christmas wishes · You're my Christmas angel · You're always on my nice list you wonderful human · Who needs presents when I've got you!? · You bring me so .
    I Love You Christmas Quotes

    ReplyDelete
  24. Using Nitro Pro Paper documents can be digitized and edited easily.
    https://thepcsoft.com/nitro-pro-enterprise-portable/

    ReplyDelete