Was looking over some old Microsoft documentation the other day, and stumbled across this.
Greg Ramsey, back at TechEd 2005, presented “SC34 – Grab that Advanced [SMS 2003] Client by the Horns! Scripting the Advanced Client”
In that presentation, Greg presented the following useful SMS 2003 VBscripts:
Client actions
| AdvertHistory.vbs | returns client advertisment history, including Program ID, Last Run Time, Current State, Success or Failure |
| DisplayAdverts.vbs | Microsoft example – Displays only non-mandatory, non-independent assignment Advertisements |
| DisplayAdverts_Adv.vbs | Queries WMI CCM_SoftwareDistribution |
| RequestMachinePolicy.vbs | Cause a Machine Policy Retrieval & Evaluation cycle to be executed. |
| RequestMachinePolicy_Remote.vbs | Cause a Machine Policy Retrieval & Evaluation cycle to be executed – remotely |
| RepairClient.vbs | Have the SMS Client repair itself. |
| ReRunAdvert.vbs | Have the SMS client re-run an advertisement. |
| RerunAdvert_Advanced.vbs | |
| RerunAdvert_Advanced_hold.vbs | |
| sendsched.vbs | Used to trigger a schedule on an Advanced Client |
| SendSched_Multiples.vbs | Uses a text file to trigger schedules on multiple computers. |
Recent Comments