I've used appcmd to set environment variables on one application pool, but now I need to set it on all but 2 application pools, on some servers that have dozens of application pools running.
The idea was to set it in all and then remove it from the couple I need to remove it from instead of running the command 40 or 50 times to set it one by one.
Is it possible to do this ?
Thank you