VM Inventory as e-mail with hyperlinks to vCenter Web UI and VM console

This post is to publish the enhanced version of the script PowerCLI sccript for exporting VM details to HTML. This version has the following features added.

1. Report will be sent as e-mail in HTML format.
2. Added Hyperlink to the vCenter Web Client to login.
3. Each VM will have the Hyperlink to the corresponding VM Console.

The output that is produced by the script looks like this


1. Hyperlinks will work only on vCenters with vSphere version 5.1 or above.

2. The client integration plug-in has to be installed on your desktops to see remote console of the VM. The following VMware Article has the steps for installing plug-in.