How do I test this restart all PCs script?
Posted on 2008-06-16
Kixtart version 220.127.116.11
I want to use the following syntax to restart all domain PCs (256, Win2k and WinXP) but not the servers.
All PC names start with SHH and then 4 digits and the servers do not. I'm not sure how I can test each line of code before the mass restart:
for each $comp in $comps
IF LEFT($comp,4) = "SHH_" or LEFT($comp,3) <> "SHH"