PowerCLI in the vSphere Web Client–Announcing PowerActions

You don’t know how excited I am to write this!  Around a year ago I presented something we were working on internal as a tech preview for my VMworld session, the response was phenomenal, if you were there you would remember people standing up and clapping and asking when this awesomeness would be available, its taken a while but its here and its worth the wait.  So what is this that I am so excited about?


PowerActions is a new fling from VMware which can be downloaded here, it adds the automation power of PowerCLI into the web client for you to use your scripts and automation power back inside the client, have you ever wanted to right click an object in the web client and run a custom automation action, maybe return the results and then work with them further all from the convenience of the web client…. Now you can!

This works in 2 ways….


PowerShell console in the Web Client

Firstly you can access a PowerCLI console straight in the web interface, even in safari, this fling allows for a dedicated host to be used as a PowerShell host and this machine will be responsible for running the PowerCLI actions, once its setup you will access the console from within the web client and all commands will run remotely on the PowerShell host, it even uses your current logged on credentials to launch the scripts meaning you don’t have to connect the PowerCLI session.


You can use tab completion on your cmdlets and even use other PowerShell snapins and modules to control any PowerShell enabled infrastructure to extend your automation needs within the vSphere Web Client.


MenuRight Click your objects

Secondly you can now right click an object in the Web Client and create a dedicated script which will work against this object, have the ability to extend your web client and take the object as an input to use inside your script.

This comes with 2 options, Create a script and also execute a script.


My Scripts and Shared Scripts

Not only can you create your own scripts to run against objects in the web client but advanced admins can create scripts and share them with all users of the web client by storing them in the Shared Scripts section of this fling, read the documentation to find out more about how to do this.  This gives the great ability to have not only shared scripts but actually a golden set of scripts which all users of the web client can use while you keep your items in a separate area “My Scripts”, enabling each user to have their own custom actions.


Download and read more

Download the fling from the VMware Labs site here, also make sure you grab the document from the same site and also check out the great post on the PowerCLI Blog for more information here.


Check out the video for a quick introduction

To help with the details I shot a quick install and usage video that covers the basics, make sure you read the PDF that comes with the fling and make sure you are active, if you like this then let is know, if you want more then let us know…. basically give us feedback!

9 thoughts on “PowerCLI in the vSphere Web Client–Announcing PowerActions

  1. Pingback: Good News! PowerActions 1.5.0 is now available for vSphere 6.0 Web Client | VMware PowerCLI Blog - VMware Blogs

  2. Pingback: Newsletter: May 16, 2015 | Notes from MWhite

  3. Pingback: PowerActions–The PowerCLI Plugin for the vSphere Web Client with UNMAP | Pure Storage Blog

  4. Pingback: Episode 286 – PowerScripting Podcast – Alan Renouf from VMware on PowerCLI | PowerShell.org

  5. bortels (@bortels)

    This is really neat; installing now. Out of curiosity, is support for powershell 4 or .NET 4.5 on the roadmap? I only ask because I’m using those for my regular scripting, and I’m frankly not sure what powershell 4 or .NET 4.5 features I may be using that won’t work in this context. Probably none, but you never know, it’s nice to keep the “same” environment everywhere…

  6. Pingback: Technology Short Take #45 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, networking, cloud, servers, & Macs

  7. Pingback: Newsletter: October 5, 2014 | Notes from MWhite

  8. Pingback: New VMware Fling: Introducing PowerActions for vSphere Web Client | VMware PowerCLI Blog - VMware Blogs

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.