Tag Archives: PowerCLI
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 [...]
Today’s post is brought to us by Chris, a member of the VMware community who wields some powerful Louisianan VooDoo magic (and PowerCLI). Chris uses this to show us how to take a csv file in, and use it to attach a VM to a dVS switch as well as adding the VMXNET3 nic to [...]
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 [...]
I recently got a comment on a post I had done a while back on VMware tools and Time Sync. While the one-liners there may be useful, they don’t particularly explain how they got to the end results. With that in mind, today I hope to explain some of the logic used when you need [...]
Ever have to log into a the console of an ESX VM… over a slow connection? Then you’ll know all about the character repeat that comes along with that. If you haven’t experienced this… consider yourself lucky. It is especially interesting when trying to type passwords.
So how do you defeat this?
You set the “keyboard.typematciMinDelay” value [...]
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 [...]
Time is critical.
In VMs this criticality is even more pronounced. Time slips… CPU instructions go askew, and things get weird. That said, there are situations when you may wish to disable the built in VMware Tools Time sync service… completely. What do I mean by completely? Well, even with the tools time sync set to [...]
What is VMware Fault Tolerance (FT)? I’d start with reviewing the overview page.
VMware Fault Tolerance, based on vLockstep technology, provides zero downtime, zero data loss continuous availability for your applications, without the cost and complexity of traditional hardware or software clustering solutions.
Pretty awesome no? FT has it’s limits (1 vCPU, etc) and it has plenty [...]
Ok, So maybe they didn’t save the world, but the sure saved my weekend. Rather than spend a lot of time on the intro, let’s dive right in. These will be in Problem/PowerShell/Output format.
The Problem:
More spaghetti environments, this time we need to count some resources. The first counts CPU, the second Memory. Yes there are [...]
Most Recent Comments