Hello all,
Im creating a Jenkins job, and wondering will the following work. I am a total novice at this stuff so please forgive me if the below sounds silly.
Basically I want to restart all nodes - unless they are called dugan, dione or example. I know i cant use != in dos but im having a job sercing for what I can use..
if %computername% != DUGAN,DIONE,EXAMPLE ( shutdown -r -f -t 10 -c "This computer is about to restart" )