I need a way of checking if a computer on the network is on

Is there a ping command or something in vb that can do this?