Author Archives: Alan

About Alan

Alan Renouf has a role of Automation Frameworks Product Manager at VMware responsible for providing the architects and operators of the cloud infrastructure with the toolkits/frameworks and command-line interfaces they require to build a fully automated software-defined datacenter. Alan is a frequent blogger at http://blogs.vmware.com/vipowershell and has a personal blog at https://virtu-al.net. You can follow Alan on twitter as @alanrenouf.

Hal’s book hits Amazon

I have mentioned it a few times on my blog but now Hal’s excellent book ‘Managing VMware Infrastructure with Windows PowerShell TFM’ is available via Amazon so for all the UK/European readers it means we get better posting prices.

Read more:

Buy it here:

Whats new: VMware SDK and Toolkits

VMware are hosting some ‘VMware Coffee Talk Live Webinars.’

VMware will be hosting some SDK/Toolkit sessions.  These will be aimed at people wanting to learn more about the SDK and scripting toolkits available for vSphere and whats new.

They will be hosted using WebEx and they will be recording the sessions, sessions and pdfs will be made available from the Developer Center Blog. Continue reading →

Customisation: Lesson 3 – Networking

Lessons so far in this blog post series:

Lets get down and dirty, by now you should not only starting to become familiar with the way things are working but also probably trying new things out, Great !

Now, as there are multiple ways of configuring your vSwitches/Portgroups and Nics I will explain a few ways that should show you the basics, everything else you should be able to work out from there.  As always any questions or comments are welcome !

So, the first thing we need to do is think about how we would configure this without scripts, often when I am writing a script I will write down the procedure a step at a time following it through in the GUI, I will then convert this into a script.

 

Continue reading →

Managing VMware Infrastructure with Windows PowerShell

Following my previous post where I gave you a quick review of Hal Rottenberg’s ‘ Managing VMware Infrastructure with Windows PowerShell’ book it is my pleasure to tell you that not only can you now buy the book but you can also see some sample chapters and sample code on the Sapien Press website so head over to the site and sample before you buy.

 

Believe me it really is a good book, also quite funny in places.

The turtle has landed: The VES is here

vesilogo We have been waiting for a while, I have blogged about ‘The Virtualisation EcoShell Initiative’ and also shared some more images and a video in ‘The VESI is on its way’.

Today the turtle has landed and the Virtualisation EcoShell is now available for public beta, so if you are keen to use the power of the VI Toolkit but without delving into PowerShell then head over to the Virtualisation EcoShell Initiative site to learn more and grab the beta release of this program.

Continue reading →

Customisation: Lesson 2 – Service and Firewall Configuration

Following on from my last post in this series which showed us how to configure the ntp time source (Customisation: Lesson 1 – Time Source) lets get straight into it and start configuring more advanced areas.

In this post I will show you how to open some of the firewall ports on your host which are needed for various applications and services to talk to our ESX Host.

In the last post we setup the NTP server, I figure it would be a good start to make sure that now we have added the time server to our host we should start the NTP Service or as the Linux type people will know it, the NTP Daemon or NTPD.

So, if we use the Get-VmHostService cmdlet which is part of the VI Toolkit we can easily start our required service.  This cmdlet will give us a list of the services on our host and there current state:

Continue reading →

Customisation: Lesson 1 – Time Source

I thought I would help people learn the VI Toolkit whilst also creating a nice script which you can customise to your own environment, hopefully this is a script that will save you time in the future.

The script we are going to build together in step by step instructions is a Customisation script.

You have built your host and now have to go through the configuration and tweaks of all the after-build areas, you have to make sure that these are setup the same on each host so that things like VMotion and DRS work so what better than a script to help us limit the amount of mistakes when typing names or missing steps.

Continue reading →

Free PowerShell Editor

imageEver go to a server and need to edit a PowerShell script which you have scheduled to run on a daily basis but only have notepad installed to edit it, yes it can be done but its not nice, is it ?

 

Sapien have released a FREE thumb drive app which is stored as a single EXE, this editor allows you to edit your scripts in the code highlighted environment we all love, step away from notepad and into the future.

This app also has code highlighting features for the following scripting languages:

  • BScript
  • JScript
  • HTML
  • PowerShell

Download the app here and suffer no more.