Find Agent, by Health Service Id
get-agent | where {$_.hostedHealthService.id -eq "guid"} | select-object name
main menu
UPDATED PAGE ON 03-19-2009 If you have visited my Command Shell blog page before, I have posted notice