Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

Child pages (Children Display)

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.

Image Added

Define user output on shell invocation, plugin output is stored in some workflow variable.

Image Added

Plugin script code now can return the output.

Image Added

At this point we have captured plugin output VERSION in varVersion variable. We can supply this to another plugin call using User Inputs.

Image Added

And use in script code.

Image Added