Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows » Use PowerShell to View and Change BIOS Settings
  • VLC Media Player pcgh b2article artwork
    How to Set Quicktime or VLC as a default player on macOS Mac
  • SQL server authentication mode
    Change from SQL Server and Windows Authentication Mode to Windows authentication Mode Oracle/MSSQL/MySQL
  • The Port used for the Virtualhost is not an Apache Listen Port
    Fix the Port used for the Virtualhost is not an Apache Listen Port Web Server
  • Driver Automation Tool
    Windows Driver Management: Upgrade Driver Automation Tool Windows
  • 0318 4
    Active Directory Authentication methods: How do Kerberos and NTLM work Windows Server
  • Computer policy could not be updated
    How to fix Computer Policy could not be updated successfully Windows
  • cisco asa 5505 adaptive security appliance desktop firewall 10 100 47 18790 04 56708 pekm1000x469ekm
    Administer Cisco ASA: Mastering CLI Management Network | Monitoring
  • LiveCaption
    Enable or disable automatic Google Chrome Live Caption on macOS Mac

Use PowerShell to View and Change BIOS Settings

Posted on 25/10/202324/10/2024 Matthew By Matthew No Comments on Use PowerShell to View and Change BIOS Settings
Use PowerShell to View and Change BIOS Settings
Using PowerShell to View and Change BIOS Settings

PowerShell is a powerful scripting and automation tool in the Windows operating system that allows you to interact with various system components, including the BIOS settings. This guide explores how to use Windows PowerShell to view and change BIOS/UEFI settings on a Windows computer. This guide covers how to check your BIOS/UEFI version, make changes to specific settings, and use third-party modules for vendor-specific management. Also, see Manage MS365 Accounts with PowerShell, Create and Delete Registry Keys via PowerShell in Windows and How to monitor Windows Server backup via PowerShell.

Please note that not all BIOS settings can be accessed or modified through PowerShell, as it depends on your computer’s manufacturer and model.

Here are other related guides: How to automate Windows Update with PowerShell and Task Scheduler, and how to run Set-ExecutionPolicy RemoteSigned to allow the execution of scripts signed by a trusted publisher.

1. Retrieving BIOS Information:

Before you start working with PowerShell to manage your BIOS settings, it’s a good practice to check your current BIOS version. This information may be required for troubleshooting and ensuring compatibility with the changes you intend to make.

Press the Windows key, type “PowerShell” and click on run as administrator.

Search and run PowerShell as administrator
Search and run PowerShell as administrator

To check the BIOS version, you can use the following PowerShell command:

Get-WmiObject -Class Win32_BIOS | Select-Object -Property Manufacturer, Version
Get BIOS/UEFI version
Get BIOS/UEFI version

This command will provide you with the manufacturer and version of your BIOS.

To check the BIOS information like SMBIOSBIOSVersion, manufacturer, serial number, and more, you can use the following PowerShell command:

Get-CimInstance -Class Win32_BIOS
Get BIOS information
Get BIOS information

To view the full list of BIOS parameters available in the Win32_BIOS WMI class use the following PowerShell command:

Get-WmiObject -Class Win32_BIOS | Format-List *
View the full list of BIOS parameters
View the full list of BIOS parameters

To get BIOS information directly from registry, use the following PowerShell command:

Get-ItemProperty -Path HKLM:\HARDWARE\DESCRIPTION\System\BIOS
Get BIOS information directly from registry
Get BIOS information directly from registry

2. Managing BIOS Settings with GET-BIOS Module:

Please see How to check the BIOS version on Windows, how to install SCConfigMgr Driver Automation Tool on Windows, and how to update the BIOS on your Dell system.

Installing the Get-BIOS Module:

To install the Get-BIOS module from PSGallery to manage BIOS/UEFI settings on Dell, HP, Lenovo, and Toshiba devices use the following PowerShell command:

Install-Module GetBIOS
Install the Get-BIOS module
Install the Get-BIOS module

Viewing BIOS Settings:

Use PowerShell with the Get-BIOS module to view your computer’s BIOS settings and parameters.

Get-BIOS

Advanced Options with Get-BIOS:

Explore additional features like displaying BIOS parameter descriptions and possible values using the Get-BIOS module.

Get-BIOS -ShowDescription

Managing Lenovo BIOS Settings:

You may want to see how to Get a list of installed applications on Windows, and how to perform Windows 10 Yoga Recovery: Download the files needed to create a Lenovo USB Recovery key.

Listing Lenovo BIOS Options:

To list available BIOS options and their values on Lenovo devices using specific WMI classes:

Get-WmiObject -class Lenovo_BiosSetting -namespace root\wmi | select-object InstanceName, currentsetting

Checking BIOS Password:

To check if a BIOS password is set on your Lenovo computer, use the following command:

(gwmi -Class Lenovo_BiosPasswordSettings -Namespace root\wmi).PasswordState

If the value returned is 0, then your BIOS password is not set.

Managing Dell BIOS Settings:

Viewing Dell BIOS Options:

To view the boot device order in BIOS on Dell computers using PowerShell commands:

Get-WmiObject -NameSpace root\dellomci Dell_BootDeviceSequence | sort bootorder | select BootDeviceName, BootOrder

Enabling Wake on LAN (WoL) on Dell:

To use PowerShell to enable Wake on LAN in the BIOS of Dell devices:

(Get-WmiObject DCIM-BIOSService -namespace rootdcimsysman).SetBIOSAttributes($null,$null,"Wake-On-LAN","4")

Conclusion:

By following this comprehensive guide, you can effectively use Windows PowerShell to manage BIOS/UEFI settings on a variety of Windows devices. Whether you want to check your BIOS version, change specific settings, or use third-party modules for vendor-specific management, PowerShell offers a flexible and powerful solution for your BIOS management needs.

FAQs

Is it safe to use PowerShell to change BIOS settings on my computer?

Using PowerShell to change BIOS settings is generally safe if you’re familiar with the settings you’re modifying and have the necessary administrative permissions. However, it’s crucial to exercise caution, as incorrect changes can potentially disrupt your system’s stability. Always ensure that you have backups of critical data and know how to revert settings in case of any issues.

Are there any prerequisites for using PowerShell to manage BIOS settings on my computer?

To use PowerShell for BIOS management, you typically need administrative privileges on your computer. Additionally, you should have a good understanding of PowerShell basics, particularly the cmdlets and modules relevant to BIOS management. Some vendor-specific instructions may require specific modules or tools to be installed, so it’s essential to follow the guide’s steps carefully and ensure you meet any specific requirements for your device.

I hope you found this blog post helpful on Using PowerShell to View and Change BIOS Settings. Please let me know in the comment section if you have any questions.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:Microsoft Windows, PowerShell, PowerShell Cmdlet, PowerShellGet, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: The VM appears to be in use: Taking ownership failed
Next Post: Fix VMware vCenter converter standalone started but not running

Related Posts

  • tux through window 620x354 1
    WSL Error 0x8007019e: WSL Register Distribution failed with error Windows
  • screenshot 2020 03 14 at 10.13.38
    How to Hide the Action Center Taskbar Icon In Windows 10 Windows
  • feature functionapp
    Deploy a function app from Visual Studio to Azure Platform AWS/Azure/OpenShift
  • Featured image   change default mail app
    How to change Windows 11 and 10 default mail app to Outlook Windows
  • Featured image Windows Security
    How to clear Cache and Manually Update Microsoft Defender Anti-Virus Solution
  • banner 3
    How to Set Network Adapter Priority on Windows 11 Network | Monitoring

More Related Articles

tux through window 620x354 1 WSL Error 0x8007019e: WSL Register Distribution failed with error Windows
screenshot 2020 03 14 at 10.13.38 How to Hide the Action Center Taskbar Icon In Windows 10 Windows
feature functionapp Deploy a function app from Visual Studio to Azure Platform AWS/Azure/OpenShift
Featured image   change default mail app How to change Windows 11 and 10 default mail app to Outlook Windows
Featured image Windows Security How to clear Cache and Manually Update Microsoft Defender Anti-Virus Solution
banner 3 How to Set Network Adapter Priority on Windows 11 Network | Monitoring

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • VLC Media Player pcgh b2article artwork
    How to Set Quicktime or VLC as a default player on macOS Mac
  • SQL server authentication mode
    Change from SQL Server and Windows Authentication Mode to Windows authentication Mode Oracle/MSSQL/MySQL
  • The Port used for the Virtualhost is not an Apache Listen Port
    Fix the Port used for the Virtualhost is not an Apache Listen Port Web Server
  • Driver Automation Tool
    Windows Driver Management: Upgrade Driver Automation Tool Windows
  • 0318 4
    Active Directory Authentication methods: How do Kerberos and NTLM work Windows Server
  • Computer policy could not be updated
    How to fix Computer Policy could not be updated successfully Windows
  • cisco asa 5505 adaptive security appliance desktop firewall 10 100 47 18790 04 56708 pekm1000x469ekm
    Administer Cisco ASA: Mastering CLI Management Network | Monitoring
  • LiveCaption
    Enable or disable automatic Google Chrome Live Caption on macOS Mac

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,832 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.