This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Files
  • Records
  • Records
  • Records
  • Records
  • Records
  • Records
  • More Options
  1. Forum
  2. Downloads
  3. Hardware
    1. 3D-Accelerator
    2. CPU-Sockets
    3. RAM
    4. HDMI & Display Port
    5. USB
    6. Thunderbolt
  4. Parcum
    1. Parcum - Countries
    2. Parcum - Categories
  5. Other
    1. ISeeT Main Site
    2. Link-Library
    3. Restaurants, Snacks and more
  • Login
  • Register
  • Search
  1. ISeeT Forums
  2. ICT (Information & Communication Technology)
  3. OS
  4. Windows
  5. PowerShell

BIOS Settings with PowerShell

  • ISeeTWizard
  • 26 October 2025 at 12:39
1st Official Post
  • Online
    ISeeTWizard
    Administrator
    Points
    2,450
    Posts
    187
    Files
    29
    • 26 October 2025 at 12:39
    • Official Post
    • #1

    In different cases it is more convenient to read out the BIOS settings within Windows or even modify them.
    Depending on the brand of your machine you can find a complete handbook to achieve that with PowerShell.

    Here I give you the example for Lenovo and HP - Just examples that may work for your machine or not - check the manual corresponding do your machine!


    Lenovo

    Tested on Lenovo T14 models.

    PowerShell
    # List all Settings
    gwmi -class Lenovo_BiosSetting -namespace root\wmi | ForEach-Object {if ($_.CurrentSetting -ne "") {Write-Host $_.CurrentSetting.replace(","," = ")}}
    
    # Show a partical value
    gwmi -class Lenovo_BiosSetting -namespace root\wmi | Where-Object {$_.CurrentSetting.split(",",[StringSplitOptions]::RemoveEmptyEntries) -eq "MACAddressPassThrough"} | Format-List CurrentSetting 
    
    # Full BIOS Settings as table
    gwmi -class Lenovo_BiosSetting -namespace root\wmi  | Out-GridView
    
    # Set a BIOS setting 
    # Use the following command as a template to set the value of a setting. 
    # This is a two-step process: set and then save. 
    # Note: The setting string is case sensitive and should be in the format "<item>,<value>". 
    (gwmi -class Lenovo_SetBiosSetting –namespace root\wmi).SetBiosSetting("WakeOnLAN,Disable")
    (gwmi -class Lenovo_SaveBiosSettings -namespace root\wmi).SaveBiosSettings() 
    
    # Set a BIOS setting when a supervisor password exists 
    # Use the following command as a template to set the value of a setting 
    # when a supervisor password exists. 
    # This is a two-step process: set and then save. 
    # Note: The setting string is case sensitive and should be in the format 
    # "<item>,<value>,<password + encoding>". 
    (gwmi -class Lenovo_SetBiosSetting –namespace root\wmi).SetBiosSetting("VTdFeature,Enable,yourbiospassword,ascii,us")
    (gwmi -class Lenovo_SaveBiosSettings -namespace root\wmi).SaveBiosSettings("yourbiospassword,ascii,us")
    
    # Examples:
    (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("VirtualizationTechnology,Disable,yourbiospassword,ascii,us")
    (gwmi -class Lenovo_SaveBiosSettings -namespace root\wmi).SaveBiosSettings("yourbiospassword,ascii,us") 
    Display More


    HP

    Tested on HP 840 models.

    PowerShell
    # Get Settings
    Get-WmiObject -Namespace root/hp/InstrumentedBIOS -Class HP_BIOSEnumeration
    
    # Get Settings but in txt file
    Get-WmiObject -Namespace root/hp/InstrumentedBIOS -Class HP_BIOSEnumeration | Out-File -FilePath c:\HPBiosSettings\HPBiosSettings.txt 
    
    # Save HP Settings in a variable
    $HPBiosSettings = Get-WmiObject -Namespace root/hp/InstrumentedBIOS -Class HP_BIOSSetting 
    
    # Example for changing a value
    $Interface.SetBIOSSetting("Reuse Embedded LAN Address","Enable")
    
    # Example
    # Put all values in a variable
    $SettingList = Get-WmiObject -Namespace root\HP\InstrumentedBIOS -Class HP_BIOSEnumeration  
    # Output just the name and value from the variable set before
    $SettingList | Select-Object Name,Value
    # Output just the name and value for "Reuse Embedded LAN Address"
    ($SettingList | Where-Object Name -eq "Reuse Embedded LAN Address") | select-object Name,Value 
    
    # Example with BIOS Password
    $Password = "<utf-16/>"+"yourbiospassword"
    $BIOS = gwmi -class hp_biossettinginterface -Namespace "root\hp\instrumentedbios"
    $result = $BIOS.SetBIOSSetting("NumLock on at boot", "Enable", "$Password")
    Display More

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login

Did you know…?

“Once you face your fear, nothing is ever as hard as you think.”

Olivia Newton-John

“Don’t take yourself too seriously. Know when to laugh at yourself, and find a way to laugh at obstacles that inevitably present themselves.”

Halle Bailey

“It does not matter how slowly you go, as long as you do not stop.”

Confucius

“When you have a dream, you’ve got to grab it and never let go.”

Carol Burnett

“All dreams are within reach. All you have to do is keep moving towards them.”

Viola Davis

“My wish for you is that you continue. Continue to be who you are, to astonish a mean world with your acts of kindness.”

Maya Angelou

“Always remember that you are absolutely unique. Just like everyone else.”

Margaret Mead

“We must let go of the life we have planned, so as to accept the one that is waiting for us.”

Joseph Campbell

“When I let go of what I am, I become what I might be.”

Lao Tzu

“Be where you are; otherwise you will miss your life.”

Buddha

“Always do your best. What you plant now, you will harvest later.”

Og Mandino

“Success is stumbling from failure to failure with no loss of enthusiasm.”

Winston Churchill

“Life does not have to be perfect to be wonderful.”

Annette Funicello

“Be yourself; everyone else is already taken.”

Oscar Wilde

“You may not control all the events that happen to you, but you can decide not to be reduced by them.”

Maya Angelou

“Keep your face towards the sunshine and shadows will fall behind you.”

Walt Whitman

“For the great doesn’t happen through impulse alone, and is a succession of little things that are brought together.”

Vincent Van Gogh

“If you have knowledge, let others light their candles in it.”

Margaret Fuller

“Do one thing every day that scares you.”

Eleanor Roosevelt

“The world you desire can be won. It exists... it is real... it is possible... it’s yours.”

Ayn Rand

“Spread love everywhere you go. Let no one ever come without leaving happier.”

Mother Teresa

“There are no regrets in life. Just lessons.”

Jennifer Aniston

“We make a living by what we get, but we make a life by what we give.”

Winston Churchill

You cannot change what you refuse to confront.

“The purpose of life is to live it, to taste experience to the utmost, to reach out eagerly and without fear for newer and richer experience.”

Eleanor Roosevelt

“Just when you think it can’t get any worse, it can. And just when you think it can’t get any better, it can.”

Nicholas Sparks

“The future is not something we enter. The future is something we create.”

Leonard I. Sweet

“If you don’t have any shadows, you’re not in the light.”

Lady Gaga

“No need to hurry. No need to sparkle. No need to be anybody but oneself.”

Virginia Woolf

“The future belongs to those who believe in the beauty of their dreams.”

Eleanor Roosevelt

“The fear of death follows from the fear of life. A man who lives fully is prepared to die at any time.”

Mark Twain

“Don’t worry about failure, you only have to be right once.”

Drew Houston

“The art of life is to know how to enjoy a little and to endure very much.”

William Hazlitt

“Next time, ask ‘What’s the worst that will happen?’ Then push yourself a little further than you dare.”

Audre Lorde

“If you live long enough, you’ll make mistakes. But if you learn from them, you’ll be a better person.”

Bill Clinton

“Failure is a great teacher and, if you are open to it, every mistake has a lesson to offer.”

Oprah Winfrey

“You can’t help what you feel, but you can help how you behave.”

Margaret Atwood

“Coming together is a beginning; keeping together is progress; working together is success.”

Henry Ford

“You can be everything. You can be the infinite amount of things that people are.”

Kesha

“Never let the fear of striking out keep you from playing the game.”

Babe Ruth

“It’s amazing how a little tomorrow can make up for a whole lot of yesterday.”

John Guare

“Ambition is the path to success. Persistence is the vehicle you arrive in.”

Bill Bradley

“You will face many defeats in life, but never let yourself be defeated.”

Maya Angelou

“Dreaming, after all, is a form of planning.”

Gloria Steinem

“Keep smiling, because life is a beautiful thing and there’s so much to smile about.”

Marilyn Monroe

“It is better to be hated for what you are than to be loved for what you are not.”

Andre Gide

“Some people want it to happen, some wish it would happen, others make it happen.”

Michael Jordan

“Always go with your passions. Never ask yourself if it’s realistic or not.”

Deepak Chopra

“There are so many great things in life; why dwell on negativity?”

Zendaya

“For me, becoming isn’t about arriving somewhere or achieving a certain aim. I see it instead as forward motion, a means of evolving, a way to reach continuously toward a better self. The journey doesn’t end.”

Michelle Obama

“If you don’t like the road you’re walking, start paving another one.”

Dolly Parton

“The future belongs to those who prepare for it today.”

Malcolm X

“It is never too late to be what you might have been.”

George Elliot

“I’m not going to continue knocking on that old door that doesn’t open for me. I’m going to create my own door and walk through that.”

W.P. Kinsella

“I believe that if you’ll just stand up and go, life will open up for you. Something just motivates you to keep moving.”

Tina Turner

“Life is a daring adventure or it is nothing at all.”

Helen Keller

“Whatever we are, whatever we make of ourselves, is all we will ever have—and that, in its profound simplicity, is the meaning of life.”

Philip Appleman

“Everything you can imagine is real.”

Pablo Picasso

“Life is like riding a bicycle. To keep your balance, you must keep moving.”

Albert Einstein

“There is no passion to be found playing small—in settling for a life that is less than the one you are capable of living.”

Nelson Mandela

“Life is very interesting…in the end, some of your greatest pains become your greatest strengths.”

Drew Barrymore

“Good friends, good books, and a sleepy conscience: This is the ideal life.”

Mark Twain

“We have to dare to be ourselves, however frightening or strange that self may prove to be.”

May Sarton

“I’m not going to continue knocking that old door that doesn’t open for me. I’m going to create my own door and walk through that.”

Ava DuVernay

“One of the deep secrets of life is that all that is really worth doing is what we do for others.”

Lewis Carroll

“To succeed in life, you need three things: a wishbone, a backbone, and a funnybone.”

Reba McEntire

“Life is made of ever so many partings welded together.”

Charles Dickens

“Yesterday is but today’s memory and tomorrow is today’s dream.”

Khalil Gibran

“It is better to fail in originality than to succeed in imitation.”

Herman Melville

“You have to believe in yourself when no one else does.”

Serena Williams

“There is no perfection, only life.”

Milan Kundera

“It is during our darkest moments that we must focus to see the light.”

Aristotle

“There’s love enough in this world for everybody, if people will just look.”

Kurt Vonnegut

“Life has no limitations, except the ones you make.”

Les Brown

“The simple things are also the most extraordinary things, and only the wise can see them.”

Paulo Coelho

“And when you want something, all the universe conspires in helping you achieve it.”

Paulo Coelho

“Find out who you are and do it on purpose.”

Dolly Parton

“Tomorrow is a new day. You shall begin it serenely and with too high a spirit to be encumbered with your old nonsense.”

Ralph Waldo Emerson

“The great courageous act that we must all do is to have the courage to step out of our history and past so that we can live our dreams.”

Oprah Winfrey

“Live in the sunshine, swim the sea, drink the wild air.”

Ralph Waldo Emerson

“I may not have gone where I intended to go, but I think I have ended up where I needed to be.”

Douglas Adams

“Be persistent and never give up hope.”

George Lucas

“We pass through this world but once.”

Stephen Jay Gould

“The only thing we have to fear is fear itself.”

Franklin D. Roosevelt

“The new dawn blooms as we free it. For there is always light if only we’re brave enough to see it, if only we’re brave enough to be it.”

Amanda Gorman

“Dream big and dare to fail.”

Norman Vaughan

“Dreams do not come true just because you dream them. It’s hard work that makes things happen. It’s hard work that creates change.”

Shonda Rhimes

“The biggest adventure you can take is to live the life of your dreams.”

Oprah Winfrey

“Life isn’t about finding yourself. Life is about creating yourself.”

George Bernard Shaw

“You only live once, but if you do it right, once is enough.”

Mae West

“In three words I can sum up everything I’ve learned about life: It goes on.”

Robert Frost

“Life is what happens to you when you are busy making other plans.”

John Lennon

“Living might mean taking chances, but they’re worth taking.”

Lee Ann Womack

“We are here to add what we can to life, not to get what we can from life.”

William Osler

“Get busy living or get busy dying.”

Stephen King

“Don’t judge each day by the harvest you reap but by the seeds that you plant.”

Robert Louis Stevenson

“Before anything else, preparation is the key to success.”

Alexander Graham Bell

“You don’t always need a plan. Sometimes you just need to breathe, trust, let go and see what happens.”

Mandy Hale

“Nothing is impossible. The word itself says ‘I’m possible!’”

Audrey Hepburn

“Let us make our future now, and let us make our dreams tomorrow’s reality.”

Malala Yousafzai

“Be sure you put your feet in the right place, then stand firm.”

Abraham Lincoln

Latest Posts

  1. Add "Take Ownership" to the context menu

    ISeeTWizard
    18 March 2026 at 13:56
  2. Apple introduces AirPods Max 2

    ISeeTWizard
    17 March 2026 at 07:32
  3. Apple to celebrate 50 years of thinking different

    ISeeTWizard
    12 March 2026 at 16:48
  4. Apple just released 2 new iOS Firmwares - 15.8.7 & 16.7.15

    ISeeTWizard
    12 March 2026 at 07:57
  5. Apple just released 4 new iOS OTA Firmwares 15.8.7 & 16.7.15

    ISeeTWizard
    12 March 2026 at 07:56

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
  3. Legal Notice
Powered by WoltLab Suite™
Style: Ambience by cls-design
Stylename
Ambience
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design