Tagged: PowerShell

PowerShell 1

BIOS Configuration: Best Solution for HPE G10/G11 Servers by PowerShell

Last post was about configuring HPE smart array and create logical drives on HPE G10 servers by HPE Scripting Tools. This post is about configuring HPE G10 via PowerShell by using HPE BIOS cmdlets. As I have mentioned in the last post, there are also cmdltes available for Smart Array, iLO and OA which helping administrators to configure and deploy servers faster than regular ways and without no additional cost. In order to configure HPE servers by script, you need to download and install HPE Scripting Tools: Scripting Tools for Windows Sample BIOS Script The below script is a sample for configuring HPE DL580 G10: The above script needs same credential on multiple servers if you want to applying configurations on multiple servers at same time. Also don’t run script on server that server has production server, it has been created for first deployment. Replace “iLO IP 1” and others with your servers’ iLO IP addresses. Further Reading Why Device Bay IP Doesn’t Change in HPE BladeSystem? [Script]: Enable/Disable vMotion on VMKernel Ports via PowerCLI Configure NTP on iLO via HPE Scripting Tools How to Create Logical Drive on HPE DL580 G10

PowerShell 1

PowerShell: How to Create Logical Drive on HPE G10

I have published some posts about HPE Scripting Tools for PowerShell to automating physical server preparation and deployment services. The tools helping administrators to deploying services on HPE servers faster than normal ways, also there is no additional costs, just buy a PowerShell book! The scripting tools provides PowerShell cmdlets for configuring BIOS, iLO, OA and Smart Array. The tools are available for download as free tools on HPE website. Scripting Tools for Windows The smart array cmdlets are compatible with HPE Generation 10 and not all smart array adapters. Read the user guide document to find list of compatible smart array adapters. The tools will help to configure smart array adapters on multiple servers very faster than normal ways or other automation tools. Of course, the tools is not comparable with HPE OneView. Sample PowerShell Script to Create Logical Drive with 2 Drive The below sample will create two logical drives from 4 drives on multiple servers: Same administrator account will be required on the servers and you can change “iLO IP” with your iLO IP addresses. Logical drives will be made as RAID 1. The script has been tested on HPE DL580 G10. You need to install HPE...

PowerShell 3

NTP Configuration in iLO: Best and Fast Solution by PowerShell

In order to keep synchronize iLO time with NTP server or time server, you have to enable NTP configuration and add proper NTP server address. Configuring NTP on more than one server is a difficult task for any administrator, because you have to do it via iLO command line or web based GUI manually. At this post I want to share an example for NTP configuration as a PowerShell script.