Export (0) Print
Expand All

Software Distribution Scripts for SMS

Published : April 11, 2005

By using scripts to automate software distribution tasks, you can reduce time spent in the SMS Administrator console completing those tasks. For example, you might have a single package that has numerous programs that vary slightly. Normally, you would need to configure each program individually in the SMS Administrator console. However, using the procedures in this section, you can easily create any number of unique packages by modifying your script.

note.gif  Note:
Some scripts in this section run on the SMS Advanced Client, while others require access to an SMS 2003 site server.

On This Page

In This Section
Related Sections
External Resources

In This Section

How to Create SMS Package and Program Objects 

Provides a code example showing how to create a package and a program.

How to Create an SMS Collection Object 

Provides a code example showing how to create a collection.

How to Create an SMS Advertisement 

Provides a code example showing how to create an advertisement.

How to Modify an SMS Advertisement 

Provides a code example showing how to modify an advertisement.

How to Add Assignments to an SMS Advertisement 

Provides a code example showing how to add an assignment to an advertisement.

How to Create DDRs for an SMS Client 

Provides a code example showing how to create discovery data records (DDRs) for a client.

How to Create Status MIF Files in SMS 

Provides a code example showing how to create status Management Information Format (MIF) files.

How to Run Available Programs on SMS Clients 

Provides a code example showing how to run available programs on the SMS Advanced Client.

How to Set the SMS Advanced Client Cache Size 

Provides a code example showing to how to set the SMS Advanced Client temporary program download folder size setting.

How to Get SMS Advanced Client Software Distribution Agent Status 

Provides a code example showing how to determine whether the SMS Advanced Client Software Distribution Agent is enabled.

Related Sections

The SMS Advanced Client Automation Objects 

WMI and SMS 

External Resources

External Resources for SMS Scripting 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft