We have a training room that needs machines rebooted frequently. I attempted to write a VB.net Script to do this but am stuck. Basically I have a form with a button that can reboot all the machines, but I want to input a text box that I can lable machine name, type the node name of the computer in there, and then hit a button that will reboot that one node name. I have nothing so far.
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
If Trim(TextBox1.Text) = "" Then
MsgBox("Please enter Client Node Name!!!", MsgBoxStyle.Information, "node name???")
If (TextBox1.Text) = "" Then