- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- How to clone BIOS settings using Get-HPEBIOSSettin...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- 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
- 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
- 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
- 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