SMS Schedule Token Strings
Posted
Monday, July 30, 2007 1:19 PM
by
jhuston
In many places, SMS uses a 16 character string to represent one of the SMS_ST schedule token WMI class objects. SMS provides a way to convert between the textual representation and the WMI object via the SMS_ScheduleMethods object.
Unfortunately, this object is only available via the site server. Unless you wish to allow all of your users and machines to directly access the WMI on your site server (not recommended), you are at a loss as to how to convert these strings into useful data.
Well, I took the time to reverse engineer the text strings into their objects and have provided some documentation on how the 16 character interval string is formulated (see the attachment). In addition, in the attached document, is sample VBScript code to encode and decode these strings. Take a gander. Let me know if you have any questions.
Note that this may change for SCCM 2007 (since the string itself is undocumented for SMS 2003).