Stephon98caffe
Programmer
I keep getting the error Mismatch types
computersInOU is a array of computer names from an OU. I would just like to be able to put on computer name at time in the string strComputer and then send strComputer to the function IsConnectible.
For each x in computersInOU
strComputer = x
If strComputer <> "" Then
If IsConnectible(strComputer, "", "") Then
objOutputFiles.WriteLine "Reply received from " & strComputer
Else
objOutputFiles.WriteLine "Reply not received from " & strComputer
End If
End If
next
computersInOU is a array of computer names from an OU. I would just like to be able to put on computer name at time in the string strComputer and then send strComputer to the function IsConnectible.
For each x in computersInOU
strComputer = x
If strComputer <> "" Then
If IsConnectible(strComputer, "", "") Then
objOutputFiles.WriteLine "Reply received from " & strComputer
Else
objOutputFiles.WriteLine "Reply not received from " & strComputer
End If
End If
next