Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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
?
431 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

721 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