PowerShell: BIOS-i info
From ICO wiki
Jump to navigationJump to search
Näitab kasutajale tema arvuti BIOS-i infot.
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
}