Get-BIOS
Description
Get-BIOS will provide you the attributes of the computer system’s basic input/output services (BIOS) that are installed on a computer.
Note: You need to install SysInfo module in order for this cmdlet to be available. For more information, see PowerShell Module SysInfo.
Syntax:
Get-BIOS [[-ComputerName] <String[]>] [[-Protocol] <String>] [[-Properties] <String[]>] [<CommonParameters>]
Requirements
- SysInfo PowerShell Module
- WinRM Enabled and PowerShell 3.0 (only if you use WinRM protocol)
If you want to find more about the specific cmdlet while you are in PowerShell you can use the below to get the help file.
Code:
Get-Help Get-BIOS
Output:
Now lets see few examples about Get-BIOS
.
[adinserter name=”In Article”]
Examples
Example 1
This command gets the information from local system.
PS C:\> Get-BIOS Name : BIOS Date: 01/12/15 09:18:22 Ver: 8.19 Manufacturer : AMI SerialNumber : CZC3389510 Version : HPQOEM - 1072009 SMBIOSBIOSVersion : 8.19
Example 2
This command gets the information from Server1.
PS C:\> Get-BIOS -ComputerName Server1 Name : Hyper-V UEFI Release v1.0 Manufacturer : Microsoft Corporation SerialNumber : 1461-2386-4192-1239-7577-0637-33 Version : VRTUAL - 1 SMBIOSBIOSVersion : Hyper-V UEFI Release v1.0
Example 3
This command gets the information from remote system with IP 192.168.0.5.
PS C:\> Get-BIOS -ComputerName "192.168.0.5" Name : Hyper-V UEFI Release v1.0 Manufacturer : Microsoft Corporation SerialNumber : 1461-2386-4192-1239-7577-0637-33 Version : VRTUAL - 1 SMBIOSBIOSVersion : Hyper-V UEFI Release v1.0
Example 4
This command gets the information from Server1, Server2 and Server3.
PS C:\> Get-BIOS -ComputerName Server1,Server2,Server3 Name : Hyper-V UEFI Release v1.0 Manufacturer : Microsoft Corporation SerialNumber : 1461-2386-4192-1239-7577-0637-33 Version : VRTUAL - 1 SMBIOSBIOSVersion : Hyper-V UEFI Release v1.0 Name : Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz Manufacturer : American Megatrends Inc. SerialNumber : 5006-6831-4493-7660-7076-8132-31 Version : VRTUAL - 5001223 SMBIOSBIOSVersion : 090006 Name : Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz Manufacturer : American Megatrends Inc. SerialNumber : 6088-5468-9195-3426-4012-2476-12 Version : VRTUAL - 5001223 SMBIOSBIOSVersion : 090006
Example 5
This command gets the information from Server1 and will output only Name and Status Properties.
PS C:\> Get-BIOS -ComputerName Server1 -Properties Name,Status Name Status ---- ------ Hyper-V UEFI Release v1.0 OK
Example 6
This command gets the information from Server1 and will output all properties.
PS C:\> Get-BIOS -ComputerName Server1 -Properties * Caption : Hyper-V UEFI Release v1.0 Description : Hyper-V UEFI Release v1.0 InstallDate : Name : Hyper-V UEFI Release v1.0 Status : OK BuildNumber : CodeSet : IdentificationCode : LanguageEdition : Manufacturer : Microsoft Corporation OtherTargetOS : SerialNumber : 1461-2386-4192-1239-7577-0637-33 SoftwareElementID : Hyper-V UEFI Release v1.0 SoftwareElementState : Running TargetOperatingSystem : Version : VRTUAL - 1 PrimaryBIOS : True BiosCharacteristics : {BIOS Characteristics Not Supported, Plug and Play is supported, Boot from CD is supported, Selectable Boot is supported...} BIOSVersion : {VRTUAL - 1, Hyper-V UEFI Release v1.0, EDK II - 10000} CurrentLanguage : InstallableLanguages : ListOfLanguages : ReleaseDate : 26/11/2012 02:00:00 SMBIOSBIOSVersion : Hyper-V UEFI Release v1.0 SMBIOSMajorVersion : 2 SMBIOSMinorVersion : 4 SMBIOSPresent : True
Example 7
This commnand gets the information from Server1.
PS C:\> "Server1" | Get-BIOS Name : Hyper-V UEFI Release v1.0 Manufacturer : Microsoft Corporation SerialNumber : 1461-2386-4192-1239-7577-0637-33 Version : VRTUAL - 1 SMBIOSBIOSVersion : Hyper-V UEFI Release v1.0
Example 8
This commnand gets the information from Server1 using DCOM protocol.
Get-BIOS -ComputerName Server1 -Protocol DCOM Name : Hyper-V UEFI Release v1.0 Manufacturer : Microsoft Corporation SerialNumber : 1461-2386-4192-1239-7577-0637-33 Version : VRTUAL - 1 SMBIOSBIOSVersion : Hyper-V UEFI Release v1.0
[adinserter name=”In Article”]
Optional Parameters
-ComputerName
- Description: Specifies the computer names or IP Addresses of the systems that we want to get the information from.
- Required: False
- Position: 1
- Default value: None
- Accept pipeline input: True (ByValue)
- Accept wildcard characters: False
-Protocol
- Description: Specifies the protocol that will be used to get the information from the remote system.
- Accepted Values: DCOM or WinRM
- Required: False
- Position: 2
- Default value: None
- Accept pipeline input: False
- Accept wildcard characters: False
-Properties
- Description: Specifies the object properties that appear in the display and the order in which they appear. Wildcards are permitted.
- Required: False
- Position: 3
- Default value
- Accept pipeline input: False
- Accept wildcard characters: True
Inputs
System.Array.
Get-BIOS can accept a string value to determine the ComputerName parameter.
Outputs
System.Object.
Get-BIOS returns an object containing all the information that has been retrieved.
[adinserter name=”In Article”]
Related Links
- Get-1394Controller
- Get-BaseBoard
- Get-Battery
- Get-Bus
- Get-CacheMemory
- Get-CDROMDrive
- Get-CompactDisc
- Get-Desktop
- Get-DesktopMonitor
- Get-DiskDrive
- Get-DiskPartition
- Get-Fan
- Get-FloppyController
- Get-FloppyDrive
- Get-GlidePoint
- Get-HeatPipe
- Get-IDEController
- Get-InfraredDevice
- Get-Keyboard
- Get-LocalDisk
- Get-LogicalDisk
- Get-MemoryArray
- Get-MemoryDevice
- Get-MotherboardDevice
- Get-Mouse
- Get-NetworkAdapter
- Get-NetworkAdapterConfiguration
- Get-NetworkDrive
- Get-OperatingSystem
- Get-OpticalSensor
- Get-PhysicalMemory
- Get-PhysicalMemoryArray
- Get-PointingDevice
- Get-PortableBattery
- Get-PrinterConfiguration
- Get-PrinterInfo
- Get-Processor
- Get-RAMDisk
- Get-Refrigeration
- Get-RemovableDisk
- Get-SCSIController
- Get-SoundDevice
- Get-SystemEnclosure
- Get-TapeDrive
- Get-TemperatureProbe
- Get-TouchPad
- Get-TouchScreen
- Get-TrackBall
- Get-TrackPoint
- Get-USBController
- Get-VideoController
- Get-VoltageProbe
- PowerShell Gallery | SysInfo
- GitHub – SConstantinou/SysInfo
- PowerShell Module SysInfo
[adinserter name=”Matched-Content”]


Leave a Reply