PowerCLI oneliner to generate version, build and bios details
Here’s a quick oneliner to generate a nice report about the version, build and bios details on each host. PS: there are no spaces or new lines in the code. Enjoy!
View ArticleTest existence of a variable in Powershell
Hmmm. Today I was looking up for how to test the existence of a variable a quick google search turned up a solution on stackoverflow. Here’s the gist of is, you can use the ‘variable PsProvider’ to...
View ArticleCheck VMHost VAAI Status
I needed a quick way to generate a report about VAAI status for all hosts in the vCenter Server. Hence wrote a PowerCLI oneliner to get the job done: In case you are not aware of what VAAI is read …...
View ArticlevSphere Datastore Report
I needed to generate a Datastore report. All the information I was interested in was available in via the Get-Datastore cmdlet, however it was nested deep. Hence churned up a quicky PowerCLI oneliner:...
View ArticleLUN Runtime Name
Most vSphere Administrators need to inspect the LUN runtime names discovered by the ESXi hosts. What usually gets overlooked is that runtimes name across different hosts could be different. Hence I...
View ArticleFind aggregate allocated VM CPU and Memory per host basis
Here’s a quick and dirty one-liner to find the total allocated CPU & Memory per ESXi host basis. This is useful when you want to get a quickly get your over-commitment ratios.
View Article