A while back I wrote a scripted install aka “cfg” file, and I just noticed I never published it. Check it out, it might be useful in one way or another. It also available for download here! Especially changing the amount of active nics in a team can be useful(I’ve commented this out again, as of ESX 3.5 U3 this [...]
Just dropped the following short script in a topic on the VMTN Community. It shuts down every VM on the host and than the host itself, but it will enter maintenance mode first, just to be sure that no other vm’s get migrated to this host. VMLIST=’vmware-cmd -l’ for config in ${VMLIST} do vmware-cmd $config stop trysoft done vimsh -n [...]
Today I combined a couple of Powershell scripts which as a result gives a nice html formatted file with a table. This table contains all VM’s with their VMware Tools status and version. I’ve uploaded the script here. The outcome looks like the following: As you can see, the VMware tools status is “ok” but the versions are totally out [...]
Today I was testing a scripted installation for a customer. All day long I had weird problems with the script. But whenever I reviewed my script their seemed to be nothing wrong with it. I wrote the scripts with Notepad++ and double checked them with vi and nano. You can imagine I almost threw my laptop out the window of [...]
Just stumbled upon this cool article about mounting your VI inventory as a drive via Powershell: source – Hal Rottenberg aka halr9000: Establish a connection to your the server using the Get-VIServer command: Get-VIServer -Server for example, Get-VIServer -Server 192.168.10.10 When prompted, provide the administrator’s username and password to authenticate access on the server. Get the root folder of the [...]
Eric Sloof just pointed us out to the Blog on the VMware website about the upcoming Powershell Toolkit Beta. I have been playing around with this toolkit for a while but had a hard time figuring out how to actually make useful scripts. The PDF that was also released has some cool examples of useful scripts for instance these: Change [...]
For all those not using the VirtualCenter Update Manager, Dominic uploaded an update on his esx-autopatch.pl script. You can now also patch 3.5 hosts with this script, which can come in handy for scripted installs!






