PowerCLI: Dump virtual machine info as XML

From VI-Toolkit
Jump to navigation Jump to search

get-VmInfoAsXML

Author: Doug Youd

Description

Based on the PowerCLI: Virtual Machine Disk (VMDK) info v2: Analyze data with Excel script by Arne Fokkema, this script will save your virtual machine info in an XML file.

The XML file is formatted for easier readability and contains -among others- the following information:

  • List of VMs with
 * port groups with VLAN info
 * Datastore
 * Capacity in GB
 * CPU count
 * Memory size
 * Nic count
 * Disk count
 * full guest name


Location

Dump Virtual Machine Info as XML (powershell)