FlexDeploy - PowerShell Plugin Guide
The PowerShell plugin provides a means to run any PowerShell cmdlet(s) or any existing PowerShell script(s). It also is compatible with Windows Azure PowerShell cmdlets, to configure your Azure Virtual Machine.
Refer to the FlexDeploy - Variables Guide for reference on available variables.
See Generic Partial Deployment Projects for use with partialExecute operation.
Supported Versions
- PowerShell 5.0+
- Azure PowerShell
Key Features
- Can run any Windows PowerShell cmdlet(s)
- Can run any Azure PowerShell cmdlet(s)
- User-defined inputs/outputs allowed
- Can run any PowerShell (.ps1) script(s)
Plugin Operations
Custom Input and Output with plugin operations
You can invoke multiple PowerShell scripts if necessary or you can invoke PowerShell and then other plugin operation(s). For either situation, you may want to pass output from one invocation to other. This involves capturing output from one plugin invocation and passing it to other plugin. This applies to all types of Shell plugins. Let's first define a variable at workflow to capture output from plugin invocation.