Can you use the View PowerCLI cmdlets ?
The Get-DesktopVM will return some of the information you are looking for.
Normally you would have to run these View cmdlets on one of the Connection servers, but there are ways to run them remotely.
See for example Remote use of VMware.View.Broker PowerCLI