Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jeffgreenca/62cd748edc2c8b30cef8 to your computer and use it in GitHub Desktop.
Save jeffgreenca/62cd748edc2c8b30cef8 to your computer and use it in GitHub Desktop.
get-vmhost | foreach {
echo "PROCESSING $($_.Name)"
(get-esxcli -vmhost $_.name).system.settings.advanced.list($true)
(get-esxcli -vmhost $_.name).system.settings.kernel.list($true)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment