Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-07-06
2
Medium Priority
?
434 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

This is my 3rd article on SCCM in recent weeks, the 1st (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html) dealing with installat…
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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

772 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