Solved

SCCM 2007 R3 - Install software during task sequence

Posted on 2013-06-20
4
373 Views
Last Modified: 2013-07-26
Hi,

Is it possible to install software during the task sequence, ONLY if the computer is a member of a specific AD Group or a specific Collection?

Thanks in advance!
0
Comment
Question by:Sum Wum
4 Comments
 
LVL 31

Expert Comment

by:merowinger
ID: 39280942
You could write a script to query any information or query WMI if you know that these information is located there...but not so easy by default
0
 
LVL 1

Author Comment

by:Sum Wum
ID: 39319932
What would a script like that look like?
0
 
LVL 17

Accepted Solution

by:
Mike T earned 500 total points
ID: 39322446
Hi,

Yes you can: see TechNet here

With task-sequences you can create complex SQL queries or indeed use WMI filters that use WQL instead of SQL, using the conditions tab.



From the article to target a specific OU


Use the following query to return the NetBIOS name and OU name of all computers in a specified OU. Replace the OU Name in the example with the name of the OU that you want to query for.
 

SELECT DISTINCT *
    FROM SMS_R_System  AS Sys
    WHERE
        Sys.SystemOUName = 'Contoso.Domain.local/OUName'


Mike
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Back in July, I blogged about how Microsoft's new server pricing model, combined with the end of the Small Business Server package, would result in significant cost increases for many small businesses (see SBS End of Life: Microsoft Punishes Small B…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

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