Solved

How can I exclude a collection of machines from an SMS deployment targeted to "All Systems"?

Posted on 2009-07-06
2
423 Views
Last Modified: 2013-11-21
I need to deploy an application to all of our systems - except a small group of computers.  This exception group will change in the future.  I would like to find out if there is any way to apply this add to the "All Systems" collection - while exluding the "Excusion Systems" collection.
0
Comment
Question by:tneubauertocg
2 Comments
 
LVL 10

Accepted Solution

by:
JonLambert earned 500 total points
ID: 24789897
You can do this by creating a new collection that has a query that includes all systems excep those in the 'exception'' collection, e.g.

SELECT DISTINCT
  SMS_R_System.ResourceId,
  SMS_R_System.ResourceType,
  SMS_R_System.Name,
  SMS_R_System.SMSUniqueIdentifier,
  SMS_R_System.ResourceDomainORWorkgroup,
  SMS_R_System.Client
FROM  
  SMS_R_System
WHERE  SMS_R_System.ResourceId NOT IN (SELECT
                                            ResourceID
                                          FROM  
                                            SMS_FullCollectionMembership
                                          WHERE  collectionid IN ('0010001A'))
0
 

Author Closing Comment

by:tneubauertocg
ID: 31600244
This is the PERFECT solution that I know will be used over and over.  Thank you very much!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every system administrator encounters once in while in a problem where the solution seems to be a needle in haystack.  My needle was an anti-virus version causing problems with my Exchange server. I have an HP DL350 with Windows Server 2008 Stand…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question