- Community Home
- >
- Servers and Operating Systems
- >
- BladeSystem
- >
- BladeSystem - General
- >
- Re: How to clone BIOS settings using Get-HPEBIOSSe...
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-15-2018 12:14 AM
08-15-2018 12:14 AM
How to clone BIOS settings using Get-HPEBIOSSetting?
Hi,
In the Scripting Tools for Windows PowerShell User Guide BIOS Cmdlets v2.1 it says about Get-HPEBIOSSetting:
The cmdlet Get-HPEBIOSSetting returns all the BIOS configuration information for the target server. This information includes base configuration, current configuration, and pending configuration of the target server. You can also use this cmdlet to get the base configuration from one server and apply it to other servers.
However, the doc is not clear how to do this. I cannot find any cmdlet called Set-HPEBIOSSetting or similar to simply apply all these settings. How can we clone BIOS settings from one server to another? Are we supposed to use multiple cmdlets to apply the values from Get-HPEBIOSSetting?
Thank you in advance for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-20-2018 11:37 PM
08-20-2018 11:37 PM
Re: How to clone BIOS settings using Get-HPEBIOSSetting?
Greetings,
Here is my answer for your query.
Are we supposed to use multiple cmdlets to apply the values from Get-HPEBIOSSetting?
Yes, you should use mutliple cmdlets to apply the values from one server to another server.
Here is an example how to clone SystemLocalityInformationTable from one server to another server.
1. Establish a connection to base server
PS C:\> $baseServer = Connect-HPEBIOS -IP 10.20.30.1 -Username abcuser -Password abc123 -DisableCertificateAuthentication
PS C:\> $baseServer | Get-HPEBIOSACPI_SLIT | fl
IP : 10.20.30.1
Hostname : abc1.domain.com
Status : OK
SystemLocalityInformationTable : Enabled
2. Execute Get-HPEBIOSSetting and store it in a variable
PS C:\> $biosSettings = $baseServer | Get-HPEBIOSSetting
3. Establish a connection to target servers (one or more)
PS C:\> $targetServers = Connect-HPEBIOS -IP 10.20.30.2-3 -Username abcuser -Password abc123 -DisableCertificateAuthentication
PS C:\> $targetServers | Get-HPEBIOSACPI_SLIT | fl
IP : 10.20.30.2
Hostname : abc2.domain.com
Status : OK
SystemLocalityInformationTable : Disabled
IP : 10.20.30.3
Hostname : abc3.domain.com
Status : OK
SystemLocalityInformationTable : Disabled
4. Clone a SystemLocalityInformationTable settings from source to target servers.
PS C:\> $biosSettings.CurrentBIOSSettings | Set-HPEBIOSACPI_SLIT -Connection $targetServers
PS C:\> $targetServers | Get-HPEBIOSACPI_SLIT | fl
IP : 10.20.30.2
Hostname : abc2.domain.com
Status : OK
SystemLocalityInformationTable : Enabled
IP : 10.20.30.3
Hostname : abc3.domain.com
Status : OK
SystemLocalityInformationTable : Enabled
Please help me know if you need more informations.
Happy scripting
Rajesh Balakrishnan
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-03-2019 05:38 PM
12-03-2019 05:38 PM
Re: How to clone BIOS settings using Get-HPEBIOSSetting?
- Tags:
- o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-05-2019 01:44 AM
12-05-2019 01:44 AM
Re: How to clone BIOS settings using Get-HPEBIOSSetting?
The cmdlet Get-HPEBIOSSetting gets the entire configuration once but inorder to apply the configuration to the target, individual cmdlets needs to be executed as there is no single cmdlet that applies every setting at once. The specified example above copies ONLY SystemLocalityInforamtionTable information from source to target.
I work for HPE
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP