Snag some free swag from us while sharing your top challenges & successes. Learn more > https://www.community.connectit.com/discussion/39687/we-want-to-hear-from-you

Get BIOS Date

Ben Marshall
Ben Marshall Member
edited January 24 in Solutions

Product Name: Get BIOS Date

Version: 1.0

Description : Gets the BIOS release date from the agent and puts the data into a custom 'date-time' field.

Comments

  • Thomas Withey
    Thomas Withey Member
    edited September 2019

    Be aware, some BIOS updates do not update the released date. For instance testing with a Dell Optiplex 3050, the version of bios changes but the date does not.

  • samuel@finkeltron.com
    [email protected] Member CHOCOLATE MILK
    edited September 2019

    I guess there more to it that simply importing the procedure? If so, I would like those instructions.

  • Ben Marshall
    Ben Marshall Member
    edited November 2019

    Hi Samuel,

    You'll need a custom field added called 'BIOS Date', and then when you run the procedure, it adds the data in there.

    Thanks

    Ben

  • samuel@finkeltron.com
    [email protected] Member CHOCOLATE MILK
    edited April 2021

    Possible to change date format to something sort-able? An all numeric date wold be better. Like 01-31-2020

    Screenshot

  • samuel@finkeltron.com
    [email protected] Member CHOCOLATE MILK
    edited April 2021

    I figured it out. I removed the day from the string. Now it sorts properly.

    ([datetime]::ParseExact(((Get-WmiObject -Class Win32_BIOS).ReleaseDate).Substring(0,14),'yyyyMMddHHmmss', $null)).ToString('yyyy-MM')

    Screenshot