I tried to borrow from Skippy's script (for notifying a user that their system is missing the MS 03-039 patch) and make a scipt that would reboot systems when they are listed in a file. This is what I ...
Your code seems fine, so I would assume there is something in the text file with the computer list that is wrong, it should have only the computer names and nothing else, no \\ no quotes or anything.
What is the difference between scripting and programming languages? Scripting languages are often compared with programming languages as though they're opposite sides of the same coin. However, ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results