Archive for 'automation'
In trying to get used to ESXi and it’s console-less nature I’ve been forcing myself to use the vCLI or PowerCLI to do things. Along the way I’ve learned that the vCLI is generally really well though out, if different. Here is an example of this: Setting up a vNetwork Standard Switch (vSwitch) using PowerCLI [...]
This came up recently on the VMware Virtualization group on LinkedIn. The question was essentially: “In the event of a host hardware issue, can I VMotion my VMs off the host and send a notification?” The answer is: “Most Certainly!” This can be done by setting up a vSphere vCenter Alarm and corresponding action. Let’s [...]
While all of PowerCLI is remarkable in both it’s power and ease of use, there are some cmdlets that do not get as much airtime as they deserve. One of those, is Invoke-VMScript. From Get-Help InvokeVMScript
NAME Invoke-VMScript
SYNOPSIS Executes the specified PowerShell script in the [...]
Today I needed to disable the VMware tools/console copy & paste functionality… on a lot of VMs (well… more than one is a lot). In doing this, I came across these directions from vmzare:
How To disable copy and paste operations between the guest operating system and remote console ?
1. Log on to the VI Client [...]
While searching for some snippets of VMware PowerCLI code earlier in the week I came across some awesome resources, both resources I’ve not seen/used before, as well as those that I’ve used, but have not linked prior. Note, that most of these are just the PowerCLI section of an equally awesome blog.
VMware PowerCLI Community
Get-Admin’s PowerCLI [...]
I just received my copy of Steve Jin’s “VMware VI and vSphere SDK: Managing the VMware Infrastructure and vSphere ”,
As I tech edited the book I’ll not post a long review, other than to say that the book is a good resource, and overall a good book. If you are, or will be [...]
I told you it was the big feature didn’t I” While I’m a PowerShell man at heart, there is something to be said, for having a cross platform, potentially hypervisor agnostic scripting engine, that is tied not just into your virtual infrastructure, but also into your management platform.
Take a look at a few of the [...]
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 we [...]
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:
So I [...]
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 attendees and [...]
Most Recent Comments