Hello everyone!
I'm trying to get an vRO Action to retrieve something dynamically through a PowerShell script and then feed it back into a vRA 7.x Property.
For this I must create a vRO Action, that works autonomously, i.e. I would have to work with either default values, or with parameters passed through from the vRA environment.
But by my current experience with plugin scripting classes, they have no constructor within vRO, opposed to a regular OO programming language. You usually retrieve the objects from the vRO environment or retrieve them through existing script commands and work with them.
I can't see how I am supposed to do this with PowerShell. There are no default PowerShell hosts definable, I cannot pass a PowerShellHost from vRA property to a vRO Action, can't work with attributes (carrying default values) within Actions and can't construct a PowerShellHost dynamically, so I'm a bit stumped as to what to do here.
Any advice?
- Jonas