for example: xxx-yy-abcd xxx-abcd xxx-defg xxx-yhas xxx-yy-yhas and i want to run a command on all servers excluding the servers which include '-yy-'
for example:
xxx-yy-abcd
xxx-abcd
xxx-defg
xxx-yhas
xxx-yy-yhas
and i want to run a command on all servers excluding the servers which include '-yy-'