Hello,
We are rolling out a new software app and management wants us to install to 50 computers per night. I know i can add 50 workstations to our push collection, howerver I'm trying to automate it so it does it automatically.
This is what i am trying.
Collection1 = All Call Center computers
Resource Name like XXX%
Collection2 = Call Center computers with App installed
Resource Name like XXX% and Installed Application = 'Call Center app'
update membership 6 hours
Collection3 = Call Center computer needs app needs installed
limiting collection = All Call Center computers
Include collection = All Call Center computers
Exclude collection = Call Center computers with App installed
update membership 6 hours
I am trying this:
Collection4 = Push to 50 Call Center computers needing new app
limiting collection = Call Center computer needs app needs installed
update membership 6 hours
Query = see below
Application push is scheduled to repeat nightly at 10pm against Collection 4.
QUERY:
select TOP 50
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 in
(
select resourceid from sms_fullcollectionmembership where collectionid = "Collection3"
)
But of course "TOP 50" is not valid syntax.
If I could do that, it would pick 50 computers, push to them at 10pm. The collection would update, remove the ones that installed the app and pick 50 new computers.
Any other way to make this work?
Thanks,
Claud