In response to Cody Bunch’s recent post on Testing DPM with PowerCLI, I decided to translate this into a vCO workflow. I did this because I thought it would be fun. The workflow is relatively simple and does the following:
- Allows user to select the host.
- Checks the current power state of the host.
- Based on the above, runs through either the standby tasks or the power on tasks.
- Logs if successful and fails with exception if not.
Instead of making this a lengthy post, I have attached the workflow for you to download if you want to see it or play with it. Enjoy!