Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing all articles
Browse latest Browse all 9071

Export Host Configuration for VC? All settings, including advanced.

$
0
0

I work for a farely large, well known enterprise.  We are standardizing all hosts to the same FW, BIOS, ESXi build, etc.  Does anyone have a PowerCLI script to export all settings (especially advanced) of each host in a VC, DC or even cluster?  Since this is for settings/configuration comparison, having each host on a single sheet in rows would be ideal.  My experience with scripting is intermediate but was looking to build off this, but on the VC scale:

 

 

$VMHost = get-vmhost "hostname"
$HC = Get-VMHostAdvancedConfiguration -VMHost $VMHost
    
$HC | Out-File C":\Advanced.csv"

 

 

 

This exports advanced settings for a single host but doesn't place the configuration in a seperate row - all in the same cell.

 

Anyone feel like educating me?


Viewing all articles
Browse latest Browse all 9071

Trending Articles



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