Welcome to Powergui.org - an open source community for Windows Powershell

PowerGUI.org PowerGUI.org and blogs
[1802] VMware Infrastructure Management    « Back to Category
Author: Kirk Munro, Created on: Apr 4, 2008 11:21 AM
Keywords: ESX, Server, VMware, Virtual, Virtual Center, Virtualization
Categories: PowerGUI Library, Virtualization
Rating:




Synopsis:
This PowerPack extends the PowerGUI with a set of folders, nodes, links and actions that allow you to manage VMware infrastructure.

Requirements:
VMware vSphere PowerCLI
PowerGUI 1.8.0.815 or later

Optional:
Quest AD cmdlets
Visio 2003 or 2007

How to install:
1. Download and install the VMware vSphere PowerCLI.
2. Download the VMware.VIToolkit.powerpack file that is attached to this article.
3. Open the PowerGUI Admin Console.
4. In the PowerGUI Admin Console, right-click the root node and select the Import menu command.
5. Import the VMware.VIToolkit.powerpack file that you downloaded in step 2.
6. Expand the "VMware" folder.
7. Select the "Managed VMware Hosts" node and use the "Add connection..." action to start adding the VMware hosts you want to manage with the VMware PowerPack.
8. Once you have added VMware hosts that you will manage, use any of the subnodes of the Managed VMware Hosts node to manage VMware objects or the host itself.

How to upgrade:
1. If you added or modified items in the PowerPack since installing it, close PowerGUI and then navigate to the Quest Software\PowerGUI subfolder of your roaming profile folder. You can find this folder by executing this string in PowerShell: "$([System.Environment]::GetFolderPath('ApplicationData'))\Quest Software\PowerGUI". In this folder, make a backup copy of your Quest.PowerGUI.xml file to ensure your customizations are backed up.
2. Open the PowerGUI Admin Console.
3. In the PowerGUI Admin Console, select File | PowerPack Management. This opens the PowerPack Management dialog.
4. Select the VMware PowerPack in the list of installed PowerPacks and click on the Check for Update button. If an update is available, this will prompt you to upgrade and walk you through the necessary steps to bring your VMware PowerPack up to date.

How to enable vDiagram support:
1. Download the VESI_Visio.zip file that is attached to this article.
2. If you agree to abide by the enclosed Legal Agreement document, extract the VESI_Visio.vss file into your 'My Shapes' folder. This can be found by entering the following string in PowerShell: "$([System.Environment]::GetFolderPath('MyDocuments'))\My Shapes".

Subscribe to updates to the PowerPack Library if you want to be notified whenever a PowerPack is published or updated (includes documentation updates), or watch the Poshoholic blog for news.

Supported features:
• Management of multiple VMware Virtual Center, ESX, ESXi and VMware Server hosts when using the VMware VI Toolkit 1.0 release
• Management of multiple VMware Virtual Center, ESX and ESXi hosts when using the VMware VI Toolkit 1.5 release or VMware vSphere PowerCLI 4.0 release
• Single sign-on to multiple hosts using the same credentials
• Ability to browse through inventory hierarchies on Virtual Center
• Ability to view topological data for any managed server
• Management of datacenters, clusters, resource pools, hosts, folders, virtual machines, templates, snapshots, networks, datastores, files, tasks and log files
• Automatic generation of multiple infrastructure diagrams in Visio (vDiagrams)
• Automatic generation of foldable HTML Reports (vReports)

Revision history:

Aug 20, 2009 (2.2.9)
- Added Networking links (Virtual Switches / Port Groups / Physical Adapters / Network Policy Info)


July 14, 2009 (2.2.8)
- updated PowerPack file to new format with shared scripts
- improved performance by moving function libraries into shared scripts
- fixed defect preventing vReport from working in some scenarios (specifically Managed Hosts)
- fixed defect preventing some dynamic nodes from showing up under standalone ESX and ESXi servers
- updated icon for PowerPack
- included the following improvements that were previously only available in the EcoShell product:
- fixed vReport conditional statements to also function with vSphere
- fixed version check statement in Managed host dynamic node to properly detect Datacenters and Clusters
- added proper version checks to provide basic support for PowerCLI, vSphere 4 and ESX Server 4
- added vReport actions for VirtualCenters, Resource Pools, Datacenters, Clusters, Hosts, Virtual Machines and Snapshots. This allows you to generate foldable reports for your VMware Infrastructure environment
- updated vDiagram support so that it works for Datacenters, Clusters or Hosts and it is no longer dependent on clusters being used in an environment
- added ability to control how many VMs should appear in a vDiagram before an additional line is added
- added Generate vDiagram... action to hosts
- fixed localization problems with Generate vDiagram action
- added Visio 2003 SP3 support to vDiagram script
- fixed many minor defects elsewhere in the PowerPack (of note, you can now browse log files for standalone hosts and you can now manage multiple servers using the same account name but different passwords)

March 9, 2009 (2.1.5)
- added icons to the tree as well as the items in the grid.
- fixed a few minor defects that could occur before you connected to a host.
- added vDiagram actions to datacenter and cluster objects.

February 1, 2009 (2.1.0)
- significantly improved performance when loading datacenters and clusters.
- added top-level container nodes to facilitate viewing objects without having to browse into the Managed Hosts node.
- fixed ability to browse into log files from hosts.
- corrected a few implementation issues in the hierarchy browsing node.
- added catch statement to catch benign exception thrown by Disconnect-VIServer when called from within PowerGUI.
- added links to allow you to browse from datastores to VMs or hosts.
- re-added VMotion action for VMs (this had to be removed for 2.0 until we could properly bring it back in 2.1).
- fixed several other minor defects.

January 6, 2009 (2.0.3)
- fixed regex string comparison issue that could prevent connections from working properly in some cases.

January 5, 2009 (2.0.2)
- removed workarounds and updated required PowerGUI version to 1.6.0.634 (PowerGUI 1.6 RTM included a few fixes that were previously worked around in this PowerPack; those workarounds are no longer required so they have been removed and the PowerGUI requirement has been bumped to 1.6.0.634).

December 22, 2008 (2.0.1)
- fixed upgrade issues from 1.x (2.0.0 used to leave intact some outdated 1.x links and actions, 2.0.1 is removing them).

December 19, 2008 (2.0.0)
- reorganized the PowerPack structure to facilitate easier management of multiple hosts and to allow users to retrieve objects from one or more of the hosts they are managing whether they are already connected or not
- added support for browsing the VMware Inventory hierarchy (includes Hosts and Clusters, Virtual Machines and Templates, Networks and Datastores), including being able to browse directly into the file system on the datastores
- added many new links and actions
- exposed many more VMware Infrastructure objects through topological views and through integration in the hierarchy
- improved the performance of many nodes, links and actions
- added single sign-on support (note that connecting to multiple hosts using the same username but different passwords is currently not supported, but we are working on that and will provide support for this soon)
- tested management against Virtual Center 2.0, ESX 3.0x and 3.5, ESXi 3.5 and Virtual Server 2.0 (note: management of Virtual Center 2.0 requires version 1.0 of the VMware VI Toolkit)
- and more!

July 30, 2008 (1.1.1)
- fixed Virtual Machines / Snapshots nodes

July 30, 2008 (1.1.0)
- updated for VI Toolkit RTM, added ability to change connection properties, and a few other links and actions

May 13, 2008 (1.0.5)
- added support for multiple connections and automated configuration restore

April 11, 2008 (1.0.4)
- had to get back to "$($env:USERPROFILE)\Local Settings\Application Data\Quest Software\PowerGUI\Quest.PowerGUI.VMware.Config.xml" - LOCALAPPDATA is not a valid env variable on XP

April 11, 2008 (1.0.3)
- now it uses "$($env:LOCALAPPDATA)\Quest Software\PowerGUI\Quest.PowerGUI.VMware.Config.xml" as the configuration file path - which should evaluate fine on any OS
- changed default connection port to 443

April 7, 2008 (1.0.1)
- fixed the issue which lead to the Actions not being displayed for the Connect node (and thus not letting you actually connect to the virtual infrastructure)

April 4, 2008 (1.0.0)
- Initial release

Screencasts:

Coming soon...

Screenshots:








Document Rating
Rating:

Downloads
Click to download this attachment VMware.VIToolkit.powerpack (1.2 MB)
Downloaded 42218 Times
Click to download this attachment VESI_Visio.zip (188.3 K)
Downloaded 5893 Times