HTTP response payload not displaying PSCustomObject returned as part of HTTP Response
I have a .NET application that I use to execute PS commandlets on an Azure VMSS instance. To do so, I use the RunPowershellScript commandId and send it over an HTTP Request to the VMSS instance.
A simple script like this works –