Posts Tagged ‘Scripts’

PowerCLI 4.1 namespace changes

Tweet
Output type changes in PowerCLI 4.1In PowerCLI 4.1 VMware changed the namespaces of the output types. According to VMware, this was done to improve the internal structure and enable other VMware teams to write cmdlets for the products they develop. You can read all about it in the vSphere PowerCLI blog article Output type changes [...]

Collect VMware ESX Host PCI Device Information

Tweet
Whenever you need to install a new box with ESX, there’s the struggle with matching physical ports to VMware devices. Which network adapter becomes vmnic0?, Which hostbus adapter becomes vmhba1?, etc. Especially when you have a lot of network adapters this can be confusing and you can’t connect to the device over the network unless you [...]

Virtualization EcoShell 1.2.6 released

Tweet
Vizioncore just released the newest version of the vEcoShell (Virtualization EcoShell). As a user and developer of VMware PowerCLI scripts I almost use the vEcoShell on a daily basis. The amazing thing about the vEcoShell is that you don’t need any scripting experience to use PowerCLI scripts and examples found on the web. If you [...]

PowerCLI: Reset CPU and Memory Limits

Tweet
Today I noticed a memory limit on a vm. After investigating my environment using the vEcoShell and the Community PowerPack, I found more vms with memory limits set. It turned out that there was a template which had the limit set. I could easily reset all limits using the GUI, but I thought I rather do it [...]

PowerCLI: Disable/Enable HA and DRS

Tweet
Before upgrading my Virtual Center 2.5 server to vCenter Server 4.0, I decided to temporarily disable HA and DRS. This is just a precaution taken to avoid waiting for cluster reconfigurations right after the upgrade. Because I hate doing things more than once by hand, I used PowerCLI for this.
Although no rocket science you can use the [...]

The VESI – Getting it up and running

Tweet
On April 8th we had a very good DutchVMUG meeting, which was totally dedicated to using PowerCLI and The VESI (Virtualization EcoShell Initiative). Although setting up the environment is straightforward, I wanted to do a small write-up which leads you through the install process and includes all download links needed.
Installation Overview
The complete setup of the [...]

Unattended upgrade of HP mgmt agents – Part 3

Tweet
In my post Unattended upgrade of HP mgmt agents – Part 2 you could read about my script for an unattended installation of the HP Management agents on ESX3.5. In this part I’ll share my next version of the script for installing the HP Management agents on ESX4.0 and ESX4.0 U1.
In the ESX4 installation, the location of [...]

Unattended upgrade of HP mgmt agents – Part 2

Tweet
It’s been a year since I blogged about my script to perform an unattended upgrade of the HP management agents 8.1.1 on ESX 3.5 U3. After HP upgraded their management agents to version 8.2.0 some things changed. The installation procedure is now a 2 step process. First there’s a PreInstall_Setup.sh script which modifies some startup [...]

PowerShell Plus™ 3.1 out now

Tweet
Idera released PowerShell Plus™ 3.1
PowerShell Plus is a powerful interactive development environment for Windows PowerShell designed to help administrators and developers quickly learn and master the PowerShell scripting language while dramatically increasing the productivity of both novice and expert users.
PowerShell Plus™ v3.1 includes these new features:

Community Script Library Integration – Increases script developer productivity by [...]

PowerCLI: Match VM and Windows harddisks – Part 2

Tweet
This is a follow up on a post I did a couple of weeks ago to create a mapping table between Windows- and VMware hard disks. In another previous post PowerCLI: Get WMI info from isolated guests, I showed you how to get WMI info from a guest without using the guest’s network. I used this [...]