VBS: Get Bios Serial Number

Hello my friend 
i have just learned VBS therefore, i have a my homework: Get Bios Serial Number 
Code: 
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colBIOS = objWMIService.ExecQuery _
("Select * from Win32_BIOS")
For each objBIOS in colBIOS
x=msgbox("Serial Number: " & objBIOS.SerialNumber)
Next

Hello my friend 
i have just learned VBS therefore, i have a my homework: Get Bios Serial Number 
Code: 
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colBIOS = objWMIService.ExecQuery _
("Select * from Win32_BIOS")
For each objBIOS in colBIOS
x=msgbox("Serial Number: " & objBIOS.SerialNumber)
Next
Just do trhe same thing you did here.  Assign the value of the object.
Go back to you schoolbook and reread how to use variables.  Once you learn and understand what variables are the answer to your question will be obvious.
Also read this: http://technet.microsoft.com/library/ee176986.aspx
¯\_(ツ)_/¯

Similar Messages

  • 'bios serial number' setting no longer working with 11.2.4.1

    We recently installed 11.2.4 and monthly update 1 (in 1 evening) and now we've started to notice that our workstations are not getting the proper device name.
    We have preboot set to give the workstation the bios serial number as device name (certain A brand ships computers with empty asset tags but has the serial set to the asset tag).
    This used to work with 11.2.3 so I am guessing something has changed. There currently does not seem to be a newer imaging set than the one with MU1.
    They are getting a windows-XXXXXXX where X is a seemingly random char hostname.
    Anyone know what might be up with this or has seen it ?

    Hi Joshua
    I tried a stripped down version with a 3 frame swf simply dropped onto the timeline - the problem does not occur. That means I would have to upload the full movie as it draws multiple slides from an external library and drops them onto the timeline at runtime. This package was developed to replace normal training material and is used widely to train some 120 000 candidates per annum by several companies. As such I cannot therefore post the full movie as I have to protect the code that drives the whole thing.I will have to stick with McGyver fix for the meantime.
    As each slide is pulled from a library, and the slide backgrounds from a separate swf library, I think that something new in 11.5 either has a problem with running multiple things at the same time, or has a problem in running a sequence of instructions.
    Brian

  • BIOS Serial Number Issue.

    I am using Lenovo g50-70. When I type "wmic bios get serialnumber" on the command prompt.It is showing numeric values instead of alpha numeric. I already installed BIOS software, still showing numeric values. Please give me answers to my questions. 1) Is BIOS and Product serial number both are same? 2) Is BIOS serial number is numeric or alpha numeric? 3) Is there any possibility to put/change BIOS serial number as Product Serial number? If yes How can I? Please answer my questions and give me suggessions ASAP.Its very urgent to update BIOS Serial Number

    Hi Marije,
    Welcome to the Forums  
    As per the query we understood that you are facing issue with touchpad in your Lenovo G50 laptop.
    Serial number will be alpha numeric, as you have mentioned it shows only numeric you can make a BIOS default, restart the system and keeps tapping f9 key and select make BIOS default option.
    Can you share the snap shot of the BIOS through private message so that we can validate the issue.
    Click here to send the private message.
    Hope this helps. Do post back if the issue persists.
    Best regards,         
    Ashwin. S

  • Find Machine Bios Serial Number

    Hi,
    Need to find out the machine bios serial number in SCCM Hardware inventory.
    Check in the SQL database SQL database views V_GS_PC_Bios, the value for serial number showing NULL.
    Do we have to enable or create the custom class to get the bios serial number?
    Regards,
    Milind Dhuri.

    You may find that some make/models of hardware may store the serial number in slightly varying classes in WMI.
    In some, it might be in Win32_BIOS. In others, Win32_ComputerSystem, or Win32_ComputerSystemProduct, Win32_BaseBoard, etc.
    Yes, it *might* be necessary to enable some additional classes in HINV, but I usually find that the data is already being inventoried, just that I am looking in the wrong place :)
    Sometimes, there is no serial number stored in SMBIOS at all. (typically with smaller suppliers)
    A quick and easy way to check if you have make/model variation as the cause of this dilemma, is to use Resource explorer in the ConfigMgr console.
    https://technet.microsoft.com/en-us/library/gg712311.aspx
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • I still use CS3, yes it's true.  Can I some how get a serial number for CS2?b

    I still use CS3, yes it's true.  However, I have my upgrade copy only, not my CS2, and I just purchased a new iMac Mini.  Therefore, I do not have my SN for CS2.  Can I some how get a serial number for CS2?  I found a link with SN's but none worked.  I wo

    There is a SPECIAL serial number for CS2 that will probably not work for a CS3 upgrade http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l
    You may still buy CS6 which has a perpetual license... Premiere Pro to get the bundled Encore Creative Suite 6

  • Invalid redemption code - can't get my serial number for Adobe Acrobate XI Standard

    I keep receiving a message, "The code you entered in invalid." for my redemption code.  I used the number one and the small l and a zero and a capital O in my redeption number and still get the same message.  How do I get the serial number so that I can download my Adobe Acrobat XI Standard program that I purchased from Best Buy today?

    Hello - Is the issue still pending

  • How do i get a serial number for Photoshop that i downloaded from Amazon? [was:thethurm]

    How do i get a serial number for my adobe photoshop software that i downloaded form amazon?

    I've never heard of buying software as a download from Amazon.  Why would you buy there instead of getting it directly from Adobe?
    Was it by chance through a 3rd party seller, not Amazon themselves?
    I should think Amazon will need to be contacted.
    -Noel

  • Can anyone help me get a serial number from Adobe & Identit-e?

    I bought the Adobe Creative Suite 6 Design Standard Student & Teacher edition through Amazon online. I followed the instructions inside the package to verify my eligibilty as an educator. I received a message on the screen after submitting my materials that I was verified & I would be receiving a serial number.  This was on June 1. I contacted Adobe Chat and a rep. told me to wait 2 -3 business days, but still no email with serial number had arrived. On June 7, I contacted Adobe Chat again and the rep told me to contact customer service at identit-e.  I have sent  identit-e two emails with no response. It has been one week of trying to get my serial number from either Adobe or identit-e.  Can anyone help me get my serial number?
    Product Code <removed by moderator>. 
    My work email is <Removed by moderator>

    Jeff,
    I ordered through Amazon and not through Adobe so there is not a record of my order on the Adobe website.  I do have a record of the order with Amazon so I requested a refund through Amazon.  The product is unusable without the serial number.  It has been 8 days since my eligibility  was verified with identit-e.  I have spoken with three Adobe rep.s and two unanswered email to identit -e trying to get the serial number since I was verified as eligible to receive the student/educator version of Creative Suites. I am very disaapointed with the lack of help I have received from Adobe with this issue.
    Being referred to identit-e or to a FAQ page is not what I needed to solve the problem- I needed the serial number  I have lost complete confidence in Adobe's customer service and that the serial number will ever be provided.
    Kathie

  • I bought a volume license for CS6. How do I now get a serial number for prior version (CS5.5)?

    I bought a volume license for CS6 Design Standard. Because of my system restrictions for now I can only run a prior version (CS5.5). I have also previously downloaded its trial version which works perfect. Now, after buying a license for CS6 I would like to get a serial number for a prior version as well. How would I go about receiving it?
    Many thanks in advance!
    Nelle

    Hi Nelle,
    You can request downgrade from Adobe, but you can't get back to CS6 after that, so it might be better to upgrade your system?
    Anyway, in my laptop CS6 has been running faster and better than CS5.5 without any changes to system, so you could give it a try before downgrading...
    Joni

  • HT204204 I need help talking to a person. My phone is not working so I can't call and i can't get the serial number to get ahold of anyone. what do i do

    How do i get ahold of a real person? My phone is only showing a black screen so I can't get on it to get the serial number or call anyone. please help

    http://www.apple.com/support/iphone/contact/

  • I have bought Adobe Photoshop Elements 13 and I try to get my serial number with my activation ID but I get a message that my ID is not good. What can I do?

    Where can I get a serial number with my activation ID if it dosen't work on the ADOBE site?

    Well, for your ID just use the ID and password you're using here. If you meant your redemption code rather than your ID, try this:
    Redemption Code Help

  • I purchased Adobe Acrobat XI Pro - Student and Teacher Edition but cannot activate it even after it has deactivated and replaced my old Acrobat 8. How do I get a serial number and activate the product?

    I purchased Adobe Acrobat XI Pro - Student and Teacher Edition but cannot activate it even after it has deactivated and replaced my old Acrobat 8. How do I get a serial number and activate the product?

    I have the same  problem. Have paid. Messages say I have downloaded it but the file is inaccessible apparently download is somewhere on my hard disk. How do I find it?? Is there not help at an Adobe phone service. If so what is the number to call??
    Roger Broughton

  • My Ipad was stolen - how do I get my serial number so I can lock it.

    My Ipad was stolen, how do I get my serial number so I can lock it?

    The serial number will be located in the box the device came in.
    However, having the serial number will not help you lock it.
    The only way to lock it would have been if you set up Find My iPad on iCloud.com and the iPad.
    you could then go to iCloud.com and lock it from the "Find my iPhone" section of the website.

  • HT1349 My Ipod was stolen how do i get the serial number?

    My IPOD was stolen how do I get the serial number?

    The easiest way to find your serial number is this Open Itunes...click help... run diagnostics.....(tick or untick as necessary) so that you just have ticked the last two,  device connectivity and device sync.  run these tests. it will say no ipod/ipad found but will give results of test....scroll down to bottom of results... here you will find the serial number of your last attached devices.

  • How can you get the serial number of your ipod touch when it has been lost?

    My daughter took her ipod touch to a friends house and it is now missing...can anyone tell me how to get the serial number so that we can report the missing device?  Thanks to anyone who can help.....

    On the syncing computer go to iTunes>Preferences>Device and hover the mouse pointer over the iPod backup and the SN will show in a box.  Also see:
    iPod: How to find the serial number

Maybe you are looking for

  • Regarding Formatting Of SAP SERVER

    Hi All, In case if there arises a need t format the server what are the cautions that we need to take? As the hardware key of the server would change, how do we get the licenses back again? We do have customer s user id and password so can we get new

  • Complexity of PL/SQL in Discoverer Admin

    Hi, Read you can register PL/SQL in Discoverer Admin - how complex can this be? Something comparable to the stored procedures in SQL Server? I guess it returns only one value as the output? Thanks!

  • Vim key mapping question, Xterm question

    Since i type Dvorak, I wish to have a mapping to allow me to move between windows in vim with Ctrl-W d/h/t/n instead of Ctrl-W h/j/k/l  . I have looked in the vim help files, and online, but can't find how to do it. I tried eg. :noremap <c-w>d<c-w> <

  • JSF in Portal component

    Hi Gurus, I wanted to know, how to use JSF technology in portal components ? Can somebody provide me one example step by step to use JSF? Regards Amit Singh

  • Javax.naming.NameNotFoundException: jms/QueueConnectionFactory not found

    Hi, I wrote a Java JMS client that connect to Oracle9iAs 9.0.2.1 using OC4J 9.0.3. I got the error javax.naming.NameNotFoundException: jms/QueueConnectionFactory not found? first I'm a bit confused about which rmi port to use to connect to Oracle9ias