Get BIOS Date
Product Name: Get BIOS Date
Description : Gets the BIOS release date from the agent and puts the data into a custom 'date-time' field.
Thomas Withey Member
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.0
I guess there more to it that simply importing the procedure? If so, I would like those instructions.0
Ben Marshall Member
You'll need a custom field added called 'BIOS Date', and then when you run the procedure, it adds the data in there.
Possible to change date format to something sort-able? An all numeric date wold be better. Like 01-31-20200
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')0