I'm having trouble triggering a software update scan. I am trying to do this as part of a task sequence so I can get all of the updates installed. But I can't even get it to work from the command line. The command I am using, and seems to work for others, is:
WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000113}" /NOINTERACTIVE
When I run it I get:
Executing (sms_client)->TriggerSchedule()
ERROR:
Description = Not found
If I run the same thing but change it to "000000000108" it runs and says:
Executing (sms_client)->TriggerSchedule()
Method execution successful.
Why won't it work? I'm using a CM2012 R2 client (5.00.7958.1000). Did the numbers (e.g. 000000000113) change for the available actions? How do I list those numbers so I can see what the right one is for a software update scan?
T