Is it possible to use the use PowerShell Invoke-Command in a Extensibility Action PowerShell script to execute commands on remote Windows instances. I have used Invoke-VMscript in the past against vCenter but looking at using Invoke-Command to Windows servers that are EC2 instances.
Any examples?
Moved to VMware Aria Automation Tools Discussions
Hi,
theoritically it is possible. In my experience it is very complex to create a secure communication between vRO and a Windows Server. I found it easier to create a PowerShell WebService on one Windows Server to repond to Webrequests and execute Powershell commands from there. If you follow that idea you have an Invoke-Command between Windows Servers which is much easier...
RegardsRobert
Thanks I will look into that.
I thought ABX Actions run in a kubernetes container on the vRA Appliance and doesn't rely on remote vRO Powershell host.