Update Get-HostData.ps1

Multiple bug fixes, mostly due to typos.