...
Prequisites:
- install PowerCLI 6.5 or higher on the server that will be used to execute the activity ( e.g if executed locally from Designer, a local installation is required ; if executed on the Execution Agent either from Designer or Portal , the installation is required on the server hosting the Execution Agent) .
Open powershell as administrator and execute this before you launch powerCLI:
$CurrentValue = [Environment]::GetEnvironmentVariable("PSModulePath", "Machine")
[Environment]::SetEnvironmentVariable("PSModulePath", $CurrentValue + ";C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Modules", "Machine")
- open Flowster Administrator with 'Run As Administrator' option from the installdir:
...
Parameters:
- Connection (text box editor type) (type: object): VMware host connection. The output from Connect to Host activity should be used as Input here.
- Id (text box editor type) (type: string): specify the content library template id. If this parameter is specified the 'Name' parameter will be ignored.
- Name (text box editor type) (type: string): the name of the content library template.
- New VM Name (text box editor type) (type: string): the name for the new virtual machine.
- Use Remote Connection (combobox control editor type) (type: string): choose whether to execute remotely via invoke-command on the vmware host.
- VM host (text box editor type) (type: string): specify the virtual machine host.
The Read Only Output variable are the possible output values that the activity will provide:
- Output (type: collection<keyvaluePair<string,string>>): outputs a collection of KeyValuePairs containing the new virtual machine properties. To use the elements of the collection, use the 'Get KeyValuePair' activity.
Get Content Library Items
This activity gets the specified Content Library Items.
Activity Parameters
The Get Content Library Items activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- Connection (text box editor type) (type: object): VMware host connection. The output from Connect to Host activity should be used as Input here.
- Id (text box editor type) (type: string): specify the content library template id. If this parameter is specified the 'Name' parameter will be ignored.
- Item Type (text box editor type) (type: string): the content library template type . E.g. "ovf"
- Name (text box editor type) (type: string): the name of the content library template.
- Use Remote Connection (combobox control editor type) (type: string): choose whether to execute remotely via invoke-command on the vmware host.
The Read Only Output variable are the possible output values that the activity will provide:
- Output Content Library Items (type: collection<collection<keyvaluePair<string,string>>>): outputs a collection of KeyValuePairs containing the ContentLibraryItem Types objects with their properties. To use the elements of the collection, use the 'Get KeyValuePair' activity.