Posts Tagged ‘PowerCLI’

A new PowerCLI release and a New Year’s feature

Tweet
On Decembre 2nd, VMware released PowerCLI 4.1.1 (or PowerCLI 4.1 Update1 as VMware calls it). Although this is a minor release, it contains more than just some bugfixes. The new release contains several enhancements and quite a couple of new cmdlets. Let’s have a look at some of the new improvements in PowerCLI 4.1.1:

Using the ESX [...]

Why New-VIProperty Matters!

Tweet
As you may have noticed, PowerCLI 4.1 has some cool new features for accessing the underlying SDK objects from within the PowerCLI objects. Before PowerCLI 4.1 your only door to the SDK objects was using the Get-View cmdlet, but you can use the .ExtensionData property now. This makes it much easier and requires less code [...]

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

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