Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

Determining the ESXi Installation type by PowerCLI

$
0
0

Hello,

 

I'm creating reporting script (aren't we all) to server various VMware environments, and one thing to get reported would be ESXi installation type.

This is possible via SSH running "esxcfg-info -e" ( Determining the ESXi installation type (2014558) | VMware KB )

Problem is that esxcfg-info does not have PowerCLI equivalent out of the box. I found William Lams script for this: Using the vSphere API to remotely collect ESXi esxcfg-info | virtuallyGhetto

But the output info from this does not hold "boot type" or "visor-" info, which I could parse out.

 

Has anyone done this kind of info pull with PowerCLI so far?

The obvious step is (in case type is visor-thin) to see if ESXi host is installed on local disk or SAN LUN. KB article for this is Identifying ESXi/ESX boot LUNs for Boot From SAN configurations (2030957) | VMware KB

 

-Mikko


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>