I am working on a script that would allow me to ping multiple hosts to check their status. Currently I am getting 2 errors while running the below script which I\'ve found o