Solved

SCCM 2007 R3 - Install software during task sequence

Posted on 2013-06-20
4
362 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 16

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
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…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

707 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

14 Experts available now in Live!

Get 1:1 Help Now