• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

SCCM 2007 R3 - Install software during task sequence

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
Sum Wum
Asked:
Sum Wum
1 Solution
 
merowingerCommented:
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
 
Sum WumAuthor Commented:
What would a script like that look like?
0
 
Mike TLeading EngineerCommented:
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

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now