about 1 week ago - 3 comments
Recently released on the PowerCLI site there has been an updated version of the PowerCLI Poster, this time the PowerCLI Documentation and Engineering teams have done a great job of updating it into a readable poster and have even added my quick reference guide to it to make it an awesome document. Included in this
about 1 week ago - 4 comments
A few times in PowerGUI or generally I have needed the user to select a single entity so that I can use this entity further in the code to narrow down the output, with this in mind i created a quick PrimalForms form which can be used as a function and a single object selected,
about 1 month ago - 2 comments
As we announced in our post “We’re writing a book!”, Luc and myself started writing a PowerCLI book. At about the same time I got a once-in-a-lifetime opportunity to join EMC as a vSpecialist, how could I turn that down ! Now you don’t become a vSpecialist for free, I have been spending a fair
about 1 month ago - 4 comments
Recently at the London VMware User Group I gave an additional presentation on top of the normal PowerCLI session I normally provide (which was interactive this time and I think worked very well). The subject of this session was “Why EMC for VMware”, I have had a number of questions from people who know that
about 1 month ago - 1 comment
I have been given my normal resident slot at the London VMUG this Thursday, 15th July. At the last VMUG I showed how vEcoShell could be used to add the graphical interface back onto our PowerCLI scripts and also gave an overview of the “VMware Community PowerPack”, when performing the demo I showed how easy
about 3 months ago - 1 comment
A little while back I started a PowerPack which could be used in either PowerGUI or vEcoShell – the application formerly known as “The Virtualisation EcoShell or VESI, my PowerPack was a collection of the most used scripts from my site all laid out in a nice GUI format. Now why would you put a
about 4 months ago - 9 comments
Some of you might be interested to know, Alan and Luc are writing a PowerCLI book. We don’t have many more details at the moment but wanted to let you know, as we are both very excited (and nervous by the amount of work) about this project. As you know we both live and breathe PowerCLI. And we
about 4 months ago - 2 comments
I was recently contacted via my blog and asked if there was a way to find the VMs which are not named in vCenter the same as they are in Active Directory or their hostname, the person contacting me had explained that someone had “accidently” renamed a number of VMs and when there was an
about 4 months ago - No comments
You may have noticed a distinct lack of posts from me recently, I have been on holiday, I had a great time staying in Belgium and The Netherlands, a fantastic country which I would recommend to anyone thinking about travelling in northern Europe, not just for the red lights or “space cakes” either ! Whilst
about 1 year ago
Great Simple Script. Thanks
about 1 year ago
Dear Sir,
Thanks for creating and sharing such a great cmdlet, however when
I execute your script in PowerGUI
after specifying: Connect-VIServer ESXi1
i got error:
Operation is not valid due to the current state of the object.
At :line:0 char:0
is it because I’m running ESXi 3.5 u4 ?
thanks.
about 1 year ago
@Albert Widjaja
Apparently this is a bit of an issue with PowerGui, if you are running this through the PowerGui editor then try running it by pushing Ctrl + F5 rather than just F5 or pushing the play button. (Thanks LucD)
Hope that helps.
Alan
about 1 year ago
Hello Al,
You script(oneliner) works great for windows guests but only shows the Boot volume for a Linux machine, do you know a way how to list the VMDK sizes for a Linux VM ?
Roger
about 1 year ago
@Roger
Hmmm, well spotted, will work on that one, no promises it will be a single line though
about 1 year ago
This is a very nice script, thanks.
Is there a way to have this exported to a file?
about 1 year ago
Yes there is a way but i doubt it will be a one-liner, I will try and work on it when I get 5 mins
about 7 months ago
Hi Al,
Greate script, it helps me a lot!
Is there a way to export the output to a .XLS file?
about 7 months ago
Did you find a way to export it to a file?
about 7 months ago
@Lars, @Abdul,
Yes I have the code which exports this to CSV, I will post it over the next couple of days.
about 7 months ago
As promised: http://www.virtu-al.net/2010/01/27/powercli-virtual-machine-disk-usage/
about 2 months ago
Fantastic – Thanks very much – I’ve been trying (and not getting very far) to put something like this together.
Question – Is it overly complicated to add additional code to update the annotation field for each VM with this information?
Regards
Grant