Techibee.com

PowerShell: How to get BIOS details of remote computer

In today’s post, let us see how to get the BIOS details of remote computer. When I say BIOS details, the most important parameters one will look for is, version and serial number. These are the most two parameters System administrators often want to know. To get this information, I have written a little function which makes a WMI query to remote computer using Get-WMIObject cmdlet for Win32_BIOS class to get the required details.

Here you go for the script. Hope this helps…

function Get-BIOSDetails {            
param($Computer)            

$output = "" | select ComputerName, BIOSVersion, SerialNumber            
$obj = Get-WMIObject -Class Win32_BIOS -ComputerName $Computer             
$output.ComputerName = $Computer.ToUpper()            
$output.BIOSVersion = $obj.SMBIOSBIOSVersion            
$output.SerialNumber = $obj.SerialNumber            

$output            

}

I will continue writing more and more when I find some time.

Exit mobile version