Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jeffg-dev/62cd748edc2c8b30cef8 to your computer and use it in GitHub Desktop.

Select an option

Save jeffg-dev/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