Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Self Healing Datacenter
  • Tintri vRO Workflows
  • vRealize Orchestrator

Tag Archives: powercli

PowerCLI: List of VMWare Hosts, Clusters, Datacenters

Posted on July 11, 2013 by nickcolyer
2

Just a quick one liner I used to gather a list of VMWare Hosts including their cluster and datacenter.

get-vmhost | Select Name, @{N=”Cluster”;E={Get-Cluster -VMHost $_}},@{N=”Datacenter”;E={Get-Datacenter -VMHost $_}} | Export-csv c:\temp\inventory.csv

Posted in Automation, Script | Tagged powercli, script | 2 Replies
Check Out koodzo.com!

Blogroll

  • The IT Hollow

Recent Posts

  • Automating Rubrik with vRO Part 3: Authenticate with Rubrik via REST
  • Automating Rubrik with vRO Part 2: Setup Rubrik REST Host
  • Automating Rubrik with vRealize Orchestrator Part 1: Introduction
  • Ahead Tech Summit 2015 – Building a Highly Automated Hybrid Cloud – and thank you!
  • Automating Tintri with vRO Part 5a: Sync VM

Recent Comments

  • Garcia on Automating HA and DRS settings in multiple clusters using VMware vRealize Orchestrator (#vRO)
  • Travis on How to correlate Windows Disks with VMDKs
  • Haumiller on vRealize Automation 6: Changing Lease Expiration Notification
  • Eric Shanks on VCP6-Cloud Exam – Thoughts
  • Akhtar Shaikh on PowerCLI: List of VMWare Hosts, Clusters, Datacenters

Archives

  • September 2015
  • August 2015
  • June 2015
  • May 2015
  • January 2015
  • September 2014
  • August 2014
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012

Categories

  • Automation
  • Chef
  • Configuration Management
  • REST
  • Script
  • Tintri
  • Uncategorized
  • vCAC
  • VCO-System Provisioning
  • VMware Certification
  • vRA
  • vRealize Automation
  • vRO
  • vTips

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress