Update Get-HostData.ps1

Fixing a bug and adding service trigger collection.