Home Forums Programming Powershell IF the test-path result is not correct, I don't want to see error mg, instead try max retires and then throw message RE: IF the test-path result is not correct, I don't want to see error mg, instead try max retires and then throw message
Gary Varga
SSC Guru
Points: 82166
More actions
March 29, 2015 at 8:54 am
#1787164
Check a success flag outside of the loop to output messages.
Gaz
-- Stop your grinnin' and drop your linen...they're everywhere!!!