“Grab that Advanced Client by the Horns!”

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.


Client settings

CacheSize.vbs Set the SMS client cache.
CacheSize_Adv.vbs Set the SMS client cache for a remote computer.
GetClientComponentsInfo.vbs .
GetClientComponentsInfo_Adv.vbs .
GetClientComponentsInfo_WithComments.vbs .
ShowInventoryInformation.vbs This example shows how to determine the last time an Inventory Action was initiated.
ShowSMSID.vbs
GetCurrentMP.vbs Display the current management point for the SMS client.
GetCurrentMP_Adv.vbs Display the current management points.
ModifyRemoteTools.vbs Temporary disable the SMS Remote Control PermissionRequired policy on a remote computer.
AutoAssignSite.vbs Display the site code of the site which an SMS client is assigned to.
AutoAssignSite_Remote.vbs .
GetAssignedSite.vbs Get the site which the computer is assigned to.
GetAssignedSite_Remote.vbs Get the site which the remote computer is assigned to.
SetAssignedSite.vbs Set the site which the computer is assigned to.
SetAssignedSite_Remote.vbs Set the site which the remote computer is assigned to.

You can probably find them if you Google about a bit.

Bookmark and Share

Comments are closed.