I have a list of a few hundred computers.
I have a command I would like to run on each one.
I have tried psexec but it just will not work and takes hours to give me a output file of errors.
Forgive me I know BAT files a little but not VB.
I would much prefer a bat file if someone has one or can point me in the correct location.
The command is
REG QUERY \\remotepcname\HKLM\SOFTWARE\something\FolderRedirect /v installed >>reginfo.txt
This will tell me the value of a key I need to check on for each pc in the list.
I would like to run this command for every pc listed in a text file I will call pclist.txt.
In the above example the pc name is \\remotepcname.
The text file would be a plain list of pc names in a column