Using Linked Clones outside your View Fish Tank

07/06/2013 Lior Kamrat 9

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]

Connect to a Random VMware View Desktop Pool Using PowerCLI

18/04/2013 Lior Kamrat 0

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]

Virtual Machine expiration date PowerCLI script

04/06/2012 Lior Kamrat 0

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]

VMware vSphere PowerCLI Poster 5.0

27/05/2012 Lior Kamrat 0

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