I’ve got the following batch:
@echo off
usmc_nfstranspoupdatesw2242.exe /q
usmc_nfstranspoupdatesw5682.exe /q
echo %computername% >> usmc_nfstranspoupdatesupdates.txt
I’d like to add to the text file something that would tell me the success or failure of each update. I use PSEXEC to run batch updates on about 100 computers, and would like to log success/failures of multiple updates. If I were only doing one update, it wouldn’t be that big of a deal, but since I’m trying more than one at once, I’m lost.