Getting Virtual Center “Summary” Stats With the VI Toolkit

First let me explain exactly what I’m talking about. In virtual center, when you select a host, you get a “Summary” page. On this page there are some statistics… A picture perhaps will make this easier: Better? I think so. So first for those resources on top: PS C:\> get-vmhost | get-view | %{ $_.Summary.QuickStats[…]

Windows PowerShell 2.0 CTP 3, The Integrated Script Editor, And You

Microsoft has released CTP (Community Technology Preview) 3 of PowerShell 2.0. You can grab it here. After having tossed it on a VM, I found that it now includes a pretty script editor of it’s own: Cute, no? When you create a “WindowsPowerShell\profile.ps1” containing: “add-PSSnapin VMware.VimAutomation.Core” It’ll include all your VI cmdlets too. Nice!

Managing Your vCenter Events with PowerShell

While great, managing events with the the VI Client can be a pain. No search functionality, old events fall off the list, etc, etc. So what is an admin to do? A resourceful admin will have been playing with the VI Toolkit, and would have found the get-vievent cmdlet. Let’s take a look at how[…]

Removing VMware Snapshots – With a Bat (PowerShell, CLI, rCLI… and Perl)

I’ve found a few situations in which snapshots get stuck, like glue, to a running VM, and despite your best effort to delete them, they wont go away. Like in-laws, they stick around, a bit longer than is pleasant. If a snapshot has not been removed cleanly on the first try, you may want to[…]

Answering VM Questions With PowerShell

Because there is an answer for everything and for everything that answer is PowerShell. Sometimes in your Virtual Infrastructure, you will have a need to answer a question or two. Normally these questions are put to you by vCenter: “Did you copy or move this VM?”, “Is today your birthday?”, “Who shot Kennedy?”. For Example:[…]

VMware – An Introduction To Scripting VI Using Perl or PowerShell

These slides look to have been released after last years VMworld, and provide a great introduction to scripting and automation with the VMware tools. Link! The labs will help you get started with scripting VMware Infrastructure to enable automation, extensibility, and integration with existing tools. When we ran this at VMworld, we had about 600[…]

Now a Member of: VI Toolkit (for Windows) VIP Community Wewt!

As of today, (or at least me, on behalf of is a member of the VI Toolkit (for Windows) VIP Community! What does this mean? It means: As a selected member of our VIP Community you will receive several benefits: 1.       Early access to the VI Toolkit. 2.       Insight into our product roadmap.[…]