Author Archives: C-Rad

Change vCheck Style to have Collapsible Sections

A colleague requested me to do this and I thought it was cool enough and easy enough to share.

He wanted to have the vCheck reports have collapsible sections. Makes sense, you know you have 1 billion VMs that are out of date on Vmtools cause you are doing upgrades, and you definitely don’t want to scroll, because effort, and stuff.

Anyway, it is pretty quick to do and hopefully it might help.

vCheck uses Style files for how the vCheck is displayed, that is what we want to edit.

So in the vCheck folder, go to Styles, then pick the style folder you are currently using. If you aren’t sure, check the GlobalVariables file, it should be listed there.

Alright so after you are in your specific style folder. Edit the Style.ps1 file and scroll down to the Very bottom.

On the line that has _TITLE_ we want to add this line, right before _TITLE_

<a onclick=”toggleRow(this);”>

(This is next couple of lines are for the Clarity style specifically)

So this

<table class=”table”><tr><td class=”left”><b>_TITLE_</b></td></tr>


<table class=”table”><tr><td class=”left”><a onclick=”toggleRow(this);”><b>_TITLE_</b></td></tr>

The <b> is to bold the title, so I drop the entry right before it. On the other styles that line can go in directly before _TITLE_

The second part is even easier. Just a few lines lower, you will see:


Just drop this in between those two lines


function toggleRow(e) {

var subRow = e.parentNode.parentNode.nextElementSibling.nextElementSibling; = === ‘none’ ? ‘table-row’ : ‘none’;



That’s it! Now when you run vCheck, you can collapse sections you don’t want to see.

If for some reason you want every section to start hidden. On the _PLUGINCONTENT_  line  change



<tr style=”display: none;”>

Then all the sections will start collapsed if you are into that.

It is possible there is a better way to do this because I am definitely not a JS or HTML guy, but this seems to work for me. It is also possible your browser may complain about a script trying to run, just allow for the collapsible sections to work.

And a quick clip of what it looks like when multiple sections are collapsed


Quick Tip: Check VMs for VMTools Upgrade Policy

I know I have posted before regarding changing the vmtools upgrade policy, which you can find here. I noticed that I didn’t have an explanation about how to check the current vmtools upgrade policy. Fortunately, it is just an easy one-liner 🙂   Granted, I select out just the name and the upgrade policy, so if you… Continue Reading

Use PowerCLI to run SRM Test Recovery Plans

  Requirements: PowerShellGet Module PowerCLI PowerCLI SRM MeadowCroft Module/Cmdlets   The latest PowerCLI and PowerCLI SRM are generally not available for conventional download, and the PowerShellGet Module is needed to download and install them.   PowershellGet is inherently included in: Windows 10+ Server 2016+ Windows Management Framework (WMF) 5+ Powershell 6   For Powershell versions… Continue Reading

Using PowerCLI to Automate SRM Post Power On Commands

Long Title… But first things first. Ben Meadowcroft created several cmdlets and even a module using the SRM API. Having spent a good deal of time in the SRM API myself, let me tell you….IT IS A MESS. Long story short Ben, spent a lot of time creating this really helpful module, and you… Continue Reading

vNoob VCAP-DCD Experience

A bit delayed but here it is. I sat the DCD a while at VMworld San Fran. Having never taken an exam at VMworld, this was an entirely new experience for me. Well, the PearsonVue exam experience, was pretty much like any other, I just didn’t realize how much it would affect my VMworld experience. With… Continue Reading

Installing vSphere 6

Installing vSphere 6

Let’s get started installing vCenter. It is never a bad idea to know what screens and information you will need before you get get there! Already this looks SIGNIFICANTLY more streamlined than the vSphere 5.5 installations with SSO, Inventory Service, etc etc etc Next next next! I went with Embedded Deployment, this means everything necessary… Continue Reading

Interconnecting EMC VNX5200

Alright, for my first post back, I created a pretty diagram of the Unified connection scheme for the VNX5200. I found the documentation from EMC, although very good, never had a complete picture of everything once connected. Having to plan it out for my own implementation I decided to share it with you. This if… Continue Reading

Filed Under: EMC

And I’m Back!

Hello my three loyal readers. Sorry for the humongous delay in posting. Unfortunately it is really a combination of being really busy at work, and not having any time to play with new stuff. Fortunately I just got a new VNX5200 and a Dell Blade Chassis m1000e I have been installing/configuring/implementing. So all of you… Continue Reading