Convert VMWare PowerCLI Invoke-VMScript Output into PSObjects Array

There is a very usefull CMDLet Invoke-VMScript which comes with VMWare PowerCLI. You can use it to run the PowerShell scripts against a virtual machine (VM). The CMDLet has several advantages over native PowerShell 2.0 remoting: 1. Avoiding one hop while executing the script (on the VM, the script is executed from the first person).Continue reading “Convert VMWare PowerCLI Invoke-VMScript Output into PSObjects Array”