Public/Get-Bios.ps1
function Get-Bios { Param ( [String[]]$ComputerName = "localhost" ) Get-CimInstance -ClassName Win32_BIOS -ComputerName $ComputerName | ForEach-Object -Process { return [PSCustomObject]@{ PSComputerName = $_.PSComputerName Status = $_.Status Name = $_.Name Caption = $_.Caption SMBiosPresent = $_.SMBiosPresent BIOSVersion = $_.BIOSVersion CurrentLanguage = $_.CurrentLanguage Description = $_.Description Manufacturer = $_.Manufacturer PrimaryBIOS = $_.PrimaryBIOS SMBiosBiosVersion = $_.SMBiosBiosVersion Version = $_.Version } } } <# ? Positive Tests: Get-Bios Get-Bios -ComputerName 127.0.0.1 #> |