I am trying to call a powershell command or script that will allow me to
trigger a SCCM client scan locally. I found this script below to kick off a
SCCM scan cycle, but it doesn’t seem to be working. I don’t see any errors
when I run it from within powershell but I never see any transactions taking
place in the scanagent.log. Powershell isn’t my strength and would
appreciate anyone who can point out what’s wrong with it? If anyone has a
powershell command to perform this action would you please share?
"([wmiclass]`root\ccm:SMS_Client').TriggerSchedule(`{00000000-0000-0000-0000-000000000113}')"