PowerCLI: Fast vMotion script with GUI


image

Gabrie dropped the following message on Twitter:

@gabvirtualworld *sigh* Why do I always have to reselect the resource pool when migrating VMs? Now I can’t move multiple VMs at once when in diff pools.

Well I felt the same about this. For the people who don’t know what Gabrie means whit his tweet, I will add two screenshots to explain it. When you start the Migrate (VMotion) task, You need to select what kind of migration you want to do. I choose the Change host option:

image

If you want to migrate multiple VM’s then I think you will find the next screen as annoying as I and Gabrie find it.

image

So to get rid of this annoying option. I created a script with an UI to VMotion multiple VM’s at the same time. Note: You can only VMotion  to one Selected host.

This is a printscreen of the GUI of the script:

image

I created a movie of the script in action:

You can download the script here: http://poshcode.org/1220

Gabrie thanks for testing the script!

VMware Tools Registry settings


image

@vmdavinci asked the following on Twitter:

image 

These are the registry settings you can change:

If you want to disable the notify if upgrade is available warning:

[HKEY_CURRENT_USER\Software\VMware, Inc.\VMware Tools]
@=dword:00000000

If you want to hide the Tools icon change the following registry key:

[HKEY_CURRENT_USER\Software\VMware, Inc.\VMware Tools]
"ShowTray"=dword:00000001

Or

[HKEY_LOCAL_MACHINE\Software\VMware, Inc.\VMware Tools]
"ShowTray"=dword:00000001

Live Writer: Twitter Notify Plugin


image

Zojuist heb ik Windows Live Writer geupgrade naar versie 14.0.8050.1202.  Voor deze versie van Live Writer zijn er een aantal plugins gemaakt. Een daarvan is de Twitter Notify plugin. Deze Plugin kun je hier downloaden: http://gallery.live.com/. De Plugin doet het volgende:

Send a Tweet announcing your newly published blog post. A shortened link to your post is automatically generated through the TinyURL service. Customize your default message in the options menu.

Zodra je de plugin hebt geïnstalleerd, kun je de opties aanpassen in de Plug-ins menu:

image

Zodra je de blogpost publiseert krijg je automatisch het onderstaande scherm.

image

En voila het werkt:

image