The SMS Advanced Client Automation Objects
Published : April 11, 2005
The SMS Advanced Client makes extensive use of COM Automation objects to facilitate simple scripting. The objects provide for scripting of client software distribution tasks, site configuration settings, and various Advanced Client Control Panel tasks.
The SMS Advanced Client Automation objects can be categorized as follows:
Software Distribution tasks and configuration objects
Control Panel objects
Client site configuration object
For more information, see the SMS Automation topics in the SMS 2003 SDK.
On This Page
Software Distribution Objects
Control Panel Objects
Client Site Object
See Also
Software Distribution Objects
The main entry point to the Software Distribution Automation objects is the UIResourceMgr object. From there, various methods and properties can get you to the underlying objects, such as the cache and program objects.
The Software Distribution Automation objects allow you to control client software distribution tasks such as the following:
Running downloaded programs on the Advanced Client. See How to Run Available Programs on SMS Clients for an example.
Reading configuration information from the Software Distribution agent. See How to Get SMS Advanced Client Software Distribution Agent Status for an example.
Configuring the Advanced Client cache. See How to Set the SMS Advanced Client Cache Size for an example.
For more information about the SMS Software Distribution objects, see the SMS 2003 SDK.
Control Panel Objects
The root COM Automation object for the Control Panel tasks is the CPApplet object. The Control Panel COM Automation objects allow you to script the functionality found in the Advanced Client Control Panel application. For example, you can create scripts to perform the following tasks:
Change the Advanced Client Control Panel configuration settings. See How to Check the SMS Advanced Client Component State for an example.
Start Advanced Client inventory in SMS. See How to Start Advanced Client Inventory in SMS for an example.
For more information about the SMS Control Panel objects, see the SMS 2003 SDK.
Client Site Object
SMSClient is the Advanced Client site and management point configuration Automation object. You can use SMSClient to set and read various Advanced Client settings, such as the following:
You can set the management point for an Advanced Client. See How to Set the Current SMS Advanced Client Management Point for an example.
You can read the default management point for an Advanced Client. See How to Get or Set the Current SMS Advanced Client Site for an example.
For more information about the SMS client site object, see the SMS 2003 SDK.
See Also
Tasks
How to Check the SMS Advanced Client Component State
How to Get or Set the Current SMS Advanced Client Site
How to Get SMS Advanced Client Software Distribution Agent Status
How to Run Available Programs on SMS Clients
How to Set the SMS Advanced Client Cache Size
How to Set the Current SMS Advanced Client Management Point