You have not specified how you are reading your values in. Also, If you have set On Error Resume Next, you will not see the reason for the failure. It could be that you have a type mismatch on the parameter type.
Try the following:
strComputer = "."
strIPAddress = Array("10.1.1.2")...