5.5.2

Table Of Contents
Using the PowerShell Plug-In 20
The PowerShell plug-in workflow library contains workflows that allow you to manage PowerShell hosts
and run custom PowerShell operations.
You can use the Inventory view in the Orchestrator client to manage the available PowerShell resources.
You can use the scripting API of the plug-in to develop custom workflows.
This chapter includes the following topics:
n
“Using the PowerShell Plug-In Inventory,” on page 117
n
“Configuring the PowerShell Plug-In,” on page 118
n
“Running PowerShell Scripts,” on page 120
n
“Generating Actions,” on page 121
n
“Passing Invocation Results Between Actions,” on page 123
n
“PowerCLI Integration with the PowerShell Plug-In,” on page 123
n
“Sample Workflows,” on page 123
n
“Access the PowerShell Plug-In API,” on page 124
n
“Working with PowerShell Results,” on page 124
n
“Examples of Scripts for Common PowerShell Tasks,” on page 125
n
“Troubleshooting,” on page 127
Using the PowerShell Plug-In Inventory
The PowerShell plug-in exposes all objects in the connected PowerShell hosts in the Inventory view. You
can use the Inventory view to add authorization elements or to run workflows on PowerShell objects.
Within the inventory of the plug-in, you can monitor PowerShell hosts and their snap-ins and cmdlets. Each
remote host can contain snap-ins and each snap-in can contain cmdlets.
You can enable the Use contextual menu in inventory option to display the workflows that are available for
an inventory object. After the option is enabled, when you right-click an object in the Orchestrator
inventory, all available workflows for the object are displayed.
VMware, Inc.
117