Skip to content

Instantly share code, notes, and snippets.

@jbarber
Created July 5, 2010 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbarber/464356 to your computer and use it in GitHub Desktop.
Save jbarber/464356 to your computer and use it in GitHub Desktop.
# Create /etc/hosts style output of IPs - VM names
get-view -viewtype virtualmachine | ?{ $_.guest.ipaddress } | format-table -hideTableHeaders {$_.guest.ipaddress},name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment