the records aren't missing, and the servers are online - but I'd like the script to "be prepared", if they should for some reason go down.

if a server doesn't resond to a ping, it's pretty fair to say that that server arent usable for any file shares Thus, there arent any reason to even attempt to connect to the remaining shares on that server...