Category: Script

PowerShell 0

Configure HPE G10 Server BIOS via PowerShell

Last post was about configuring HPE smart array and create logical drives on HPE G10 servers via PowerShell (HPE Scripting Tools for PowerShell). This post is about configuring HPE G10 BIOS via PowerShell by using HPE BIOS cmdlets. As I have mentioned in the last post, there are cmdltes available...

PowerShell 1

How to Create Logical Drive on HPE DL580 G10 by PowerShell

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...

PowerCLI 0

Invoke-VMScript Challenges with Linux Guest

There is some challenges for passing Linux commands with parameters to guest OS. In most of cases, administrators have to pass commands as a PowerShell variable also I had some bad experiences, as an example: run “Sed” with some special parameters. I have to use lot of double quotes and single quotes to pass command via Invoke-VMScript to guest OS.

PowerShell 2

Configure NTP on iLO via HPE Scripting Tools for Windows 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.

PowerCLI 3

[Script]: Check Time Synchronization with Host on Virtual Machines – PowerCLI

As you know, virtual machines can sync their time with ESXi host when VMware Tools is installed on the virtual machines. Also the configuration should be enabled on virtual machine configuration manually. The configuration is available on “Virtual Machine Properties”: If there is more than one virtual machine (Absolutely YES),...

PowerCLI 11

[How To]: Change Linux IP Address via PowerCLI

There is some reason that you want to change IP address on virtual machines as an example, moving virtual machines to a new VLAN or port-group or moving them to another site or replicate virtual machine to an offsite recovery site. Changing IP on machines one by one is very...

PowerCLI 2

[PowerCLI]: Change Local Account Password on ESXi

Usually, administrators using same password on all servers for easier management and there is some security reasons to change the password periodically such as defining an expire time for password or when one of members is left company. Changing user’s password or many users password on a single host is...

PowerCLI 5

[PowerCLI]: Add Local Administrator Account on ESXi

The is some reason to have local user on ESXi servers even when there is vCenter server for management such as vCenter is inaccessible. You can use root user for doing operations on ESXi directly but some times, you have to ask someone to do the operations and then you...

Subscribe to our newsletter and join other subscribers

Holler Box