Last week I had a conversation with one of my customers who asked me if I know some good, fast, modular way for provisioning around 20-25 VMs for a lab environment. The first thing I asked was “what are you using today?” So he opened his vSphere Client and showed me how he is using NetApp Rapid Clone Utility (RCU) to deploy the VMs. The problem with the RCU is that it isn’t elastic and modular enough although using it is great for gaining fast provisioning. You can watch a few YouTube videos here. I’ve decided to write a PowerCLI deployment [Read More]
Last week I had a conversation with one of my team mates We were asked to provide a way for a VDI user to connect to a random VMware View desktop (floating) pool automatically each time a desktop is needed. I’ve created a PowerCLI script which will provide a way for a random pool selection from the user’s pool assignment. The only prerequisite for this to work is that the View administrator will grant user pool permissions up-front. [sourcecode language=”powershell”] #Random View Desktop Pool Connection #Created for: imallvirtual.com #Created by: Lior Kamrat #Created on: 16/04/2013 #Map VMware View Connection Server and desktop [Read More]
In the last part for this series I will be focusing on automating the deployment process using PowerCLI and VB script combination.
From time to time a new VM request pops out but what if this specific VM is only temporary? Well, it would be great if you could put an expiration date on this VM just like a carton of milk, don’t you think? In order to get a daily report for all your expired VM you need to do the following: Create an additional VM annotation value called “Expiration Date”. You will also have to fill up the actual expiration date for this VM in a “MM/dd/yyyy” Get-Date PowerShell command format, for example: 06/04/2012 The Script: [sourcecode language=”powershell”] $Server = [Read More]
Although it was released last September I thought it would be useful to share with you the latest PowerCLI poster which can help system administrators to start exploring the PowerCLI scripting world. If you aren’t familiar with PowerCLI I suggest you to start doing some digging so you can use and understand my upcoming scripts which will be release in future posts. You can download the poster and find additional info on the subject here: http://blogs.vmware.com/vipowershell/2011/09/powercli-poster-v50.html http://www.vmware.com/support/developer/PowerCLI/index.html