Category Archives: Scripting

Powershell : List VMs with CD-ROM, Floppy, Seriel Ports and Parallel Ports

By | April 8, 2009

Today I had to create a script that creates lists of VMs, for each of the below statements: CD-ROM is ‘Connected’ CD-ROM set to ‘Connect at power on’ CD-ROM device type set to ‘Client Device’ CD-ROM device type set to ‘Datastore ISO file’ Floppy is ‘Connected’ Floppy set to ‘Connect at power on’ Floppy device… Read More »

Graph history on your ESX enviroments development

By | January 5, 2009

2 years ago a VMUG user in Denmark created a Ubuntu VM that could graficily could show the develeoment of the amount of VM’s in a Cluster. Unfurtionally someone stole my labtop and the VM :-). So I had to create a new. And of cause it’s based on PowerShell ;-). The webpages shows the… Read More »

BULK upgrading VM’s memory

By | December 20, 2008

Today I had to upgrade all our Jumphost VM’s from 256MB to 512MB of memory (more than 200 VM’s). There are two ways accomplice this. 1. Do it manually (Very time consuming) 2. Script it with PowerShell As the lazy person I am I decided that scripting was the way forward. The script I came… Read More »

Converting vcinfo from Perl to PowerShell

By | October 1, 2008

The past few days I have been trying to learn the basic of PowerShell and the VIToolkit for Windows. And after playing around with it, I thought that the best way to learn PowerShell was to have a goal. And what better goal than converting the vcinfo script I created with VIPerlToolkit. A beta version… Read More »