about 4 days ago - 15 comments
Unlike the traditional ESX software, the ESXi software does not have a service console. It helps reduce the installation footprint of the software and can allow the hypervisor to be directly installed on the system’s internal flash storage or a USB key.
At the moment I am investigating moving to ESXi from ESX, after resolving the [...]
about 1 week ago - No comments
Last night I needed to update some of my hosts with the latest patches that have been released recently, this gave me the ideal opportunity to look at the recently released VMware Update Manager cmdlets for PowerCLI.
For a full list of cmdlets or to download click here.
Whilst upgrading one of my hosts I shot a [...]
about 2 weeks ago - 2 comments
Way back beyond the time before PowerCLI was invented there was this app called the Virtual Infrastructure Toolkit, when you installed the VITK if you had Update manager installed you used to be able to install some beta cmdlets which worked with update manager, this was subsequently removed in future versions….. Until Now !
They are [...]
about 2 weeks ago - 3 comments
Today Duncan over at yellow-bricks.com has started quite the conversation on technical support mode for ESXi or otherwise known as “unsupported mode”, check out his blog post and especially the comments here: http://www.yellow-bricks.com/2010/03/01/disable-tech-support-on-esxi/
As always when I see a post my first thought is to PowerCLI, so how can it help in this instance, well apart [...]
about 3 weeks ago - 4 comments
Yesterday was a fantastic VMware user group, definitely my favourite one so far, lots of great content from some fantastic people and some real rockstars (I think that is the 2010 word for Guru’s) like Mike Laverick, Carter Shanklin (Carter USM), Stuart Radnidge and many many more.
I was privileged to open the show with a [...]
about 3 weeks ago - 5 comments
In the past I have virtualised a number of different applications and types of servers, among these have been several Citrix WinFrame/MetaFrame/Presentation Server or as it is currently known XenApp Servers.
Recently I have been asked about this on a number of occasions and the question is always the same:
How many users can you get on [...]
about 3 weeks ago - 13 comments
I was asked whilst on a customer site to work out who had created a VM, this is a common question in most environments where admin rights are the normal and creating a VM is as easy as creating a new word document.
After trawling through the logs for a couple of minutes I found the [...]
about 1 month ago - 1 comment
I have been asked to do a session at the London VMUG on 25th February 2010, after my previous session where I took the attendees through a beginners introduction to PowerCLI, I think I will throw them straight in this time and show them how we can configure ESXi using PowerCLI.
ESXi is obviously a hot [...]
about 1 month ago - 4 comments
With vSphere introduced some new maximum’s which we not only have to memorise for the exams but also have to keep in mind when designing and using your infrastructure.
In the back of your mind when adding a new host to a cluster you should always be thinking, how many hosts should be in this cluster [...]
about 1 month ago - No comments
I needed a quick one-liner today to help me find out how many HBA’s my hosts had, the following one-liner needs no more introduction:
Get-VMHost | Select Name, @{N="FibreHBAs";E={($_ | Get-VMHostHba | Where { $_.Type -eq "FibreChannel"} | Measure-Object).Count}} | Out-GridView
Output:
And of course you can easily add it to VESI/PowerGUI:
about 9 months ago
A very “usable” article.
And for completeness sake, the regex version:
…
$VmPathName = $VM.Summary.Config.VmPathName
$Folder = ([regex]“\[\w+\] (\w+)/”).match($VmPathName).Groups[1].Value
$Path = ([regex]“(\[\w+\] \w+)/”).match($VmPathName).Groups[1].Value
…
Regex is your friend
about 9 months ago
@LucD
As always AMAZING ! Thanks Luc
about 9 months ago
This is a pet peeve of mine for a while now, I am very anal about VMs like this I always end up changing the names of the directory name or even filename’s by either svmotioning or using vmkfstools to match GUI (presumably what I wanted!)
Thanks the for the article.
about 9 months ago
@amusica
Consistency is the key, thanks for the comment.
about 8 months ago
You think of everything that’s annoyed me in the last couple of years. Perfect and thanks again. Glad I found this site.
about 7 months ago
@Alex
Thanks for the kind comments
about 6 months ago
Thank you for the awesome script!
@LucD
Thank you for the regex LudD. However, I am having some problems with the matching when there is a non-word character (e.g. dash or underscore) in the VM Name. Any suggestions?