Solved

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

Posted on 2009-07-06
2
409 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now