working on just getting up status

decided to try to just get up status and add to the listview. ping not
accepting the name of samaccountname. why?