You can get BIOS details by running below script,
import os; os.system(‘C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Get-WmiObject win32_bios | find /v /i “Error”’);
sample output would be,