dspecht
Posts: 3
Score: 0 Joined: 5/8/2008 Status: offline
|
Hi, I am trying to create a query that contains all servers except ones that are in a specific AD group. Problem is this query: select SMS_R_System.Name from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Server" and SMS_R_System.SystemGroupName not like "MyDomain\\DONT REBOOT, just patch" Returns all servers (which is good) including those in the Don’t reboot group (which is bad) What am I doing wrong? Thanks, Dan
|