Solved

SCCM 2007 R3 - Install software during task sequence

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
System Center Configuration Manager 2012 9 90
Abstract this sub 6 62
HxTsr.exe consuming resources 2 346
How to download all files from sharepoint document library? 8 62
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
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 …

867 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

23 Experts available now in Live!

Get 1:1 Help Now