PS-ComputerInfo
BIOS
To run this on your local server, remove the -ComputerName flagBIOS
Get-CimInstance -ClassName Win32_BIOS -ComputerName myComputerName
SMBIOSBIOSVersion : 6.00Manufacturer : Phoenix Technologies LTDName : PhoenixBIOS 4.0 Release 6.0SerialNumber : VMware-42 39 a2 67 13 35 58 71-b5 18 ca b9 b8 0a 46 b8Version : INTEL - 6040000PSComputerName : EUGSL-W-PYL001
To see all available retrievable properties use...
Get-CimInstance -ClassName Win32_BIOS | Get-Member
Serial Number
Serial Number
Get-CimInstance -ClassName Win32_BIOS -Property SerialNumber -ComputerName myComputerName | Select-Object -Property SerialNumber
SerialNumber------------VMware-42 39 a2 67 13 35 58 71-b5 18 ca b9 b8 0a 46 b8
To return the same thing without headers, you can use...
(Get-CimInstance -ClassName Win32_BIOS -Property SerialNumber -ComputerName myComputerName).SerialNumber
VMware-42 39 a2 67 13 35 58 71-b5 18 ca b9 b8 0a 46 b8
Bibliography
Bibliography