I'm just throwing a quickie out there...
I originally wanted to create a small ruby or python script that collected the Active Number of View Sessions currently running for a small project we are running internally. Come to find out, there isn't an API available for VMware View (TBD documentation for Horizon 6) so I had to rely on Powershell to do this for me.
I'm sure there are PS gurus out there that will tell me they can condense this down to a single line, but that's not how my brain works.
Download ViewActiveSessionCount.ps1