16th November 2014 · Luca Sturlese
Important Update

As of September 2015, I have released version 2 of my PowerCLI Script Template, which includes a number of improvements over this version, in particular the use of the new PSLogging PowerShell module that significantly improves the creation and management of log files. This version of the template is no longer supported or maintained, so please upgrade to the new version today!

Version 2 of the template is available here – PowerCLI Script Template v2.


A while a go I posted up my PowerShell Script Template which turned out to be pretty popular with fellow PowerShellers.

I recently create another slightly modified template when working with PowerCLI, so I thought I would share it here. Here is my PowerCLI Script Template to be used for all your VMware scripts…

Read More “PowerCLI Script Template”

15th November 2014 · Luca Sturlese

When you rename a virtual machine in VMware, the VM’s folder and files on the datastore do not get renamed automatically. This can make troubleshooting difficult as it will be almost impossible to find a renamed VM whilst browsing a datastore.

To fix this, you normally do a Storage vMotion of the VM, which would rename the folder and all of the corresponding VM files to the new name. Unfortunately in vCenter 5.0 and 5.1 a Storage vMotion does not rename the VM files, it will only rename the folder.

There is a fix for this so that the VM files get renamed as well. Here is how to do it…

Read More “Storage vMotion does not rename virtual machine files”

25th October 2014 · Luca Sturlese

This is part 5 in the Citrix XenApp 7.6 installation and configuration guide. In this article we go through the steps required to integrate the Citrix Site with the underlying VMware vCenter environment. This is an optional step and is only required if you want to be able to use Machine Creation Services (MCS) or want to power manage your virtual application servers.

Read More “XenApp 7.6 Install – Part 5: Configure VMware vCenter Integration”

25th October 2014 · Luca Sturlese

This is part 4 in the Citrix XenApp 7.6 installation and configuration guide. In this article we go through the steps required to install the Virtual Delivery Agent on an application server. The VDA is the interface between the Citrix Site and the application server, which allows applications to be published to users.

Read More “XenApp 7.6 Install – Part 4: Install VDA on Citrix Application Server”