RSS Feed for This PostCurrent Article

vCheck 3

I second what Duncan Epping said about Alan Renouf and his vCheck 3 script. In fact, I was in the middle of writing a very similar post when I saw his. I won’t duplicate what Duncan said, but I will say:

1. If you haven’t started using PowerCLI to help manage your infrastructure you might want to check it out. I started using it when I was doing mass Storage VMotions and got sick of doing it all through the vSphere client. Turns out, in PowerCLI, it’s:

Get-Datastore “source-datastore” | Get-VM | Move-VM -datastore (Get-Datastore “target-datastore”)

…and then you wait for it to finish. That’s really slick.

2. I don’t pick up a new tool on a whim. I always need a concrete reason or a specific goal, like wanting a better way to do whole-datastore Storage VMotions. Mr. Renouf’s vCheck 3 script is an excellent concrete reason to start, though. It’ll send you this nice email with lists of potential problems in your environment, plus it’s a great example of how to do things in PowerCLI if you want to get into writing your own stuff.

3. If you do run the vCheck 3 script and get a permission error you may need to edit the properties of the file itself and unblock it. For example:

Unblock

Thanks Virtu-Al!

Popularity: 2% [?]

| Comments

Trackback URL

  1. 3 Comment(s)

  2. By iHunger on Nov 6, 2009 | Reply

    Bob –

    If you haven’t already, you may want to check out PowerWF Studio. It lets you visually create PowerShell scripts via drag and drop, and it has all of the PowerShell and PowerCLI activities built in. You can even create hybrid workflows that include PowerShell and non-PowerShell activities.

  3. By Bob Plankers on Nov 6, 2009 | Reply

    I’ll take a look at that. I’m pretty new to all the PowerCLI stuff so I appreciate the suggestion, even if it is a plug for your own product. :-)

  4. By iHunger on Nov 10, 2009 | Reply

    Alan Renouf wrote up an article on getting started w/ PowerCLI that you may want to check out as well – http://www.virtu-al.net/2009/11/10/powercli-where-do-i-start/

Post a Comment

 

Please note that while in principle I don't mind promotion of a non-personal web site or blog in the fields below, any comments that are off-topic, derogatory, or spam-like will likely be removed at my discretion.