Tag Archives: VBScript

SCCM Schedule Token Strings

In many places, SCCM (and SMS) use a 16-character text string (actually a hexadecimal number) to represent one of the schedule token classes.

SMS_ST_NonRecurring
SMS_ST_RecurInterval
SMS_ST_RecurMonthlyByData
SMS_ST_RecurMonthlyByWeekday
SMS_ST_RecurWeekly

Microsoft provides a WMI interface to translate between the text string and one of the SMS_ST_ WMI objects.  Unfortunately, this interface is only accessible from the SMS site [...]

Server Metadata in SCCM

It is not uncommon to need additional data to be stored about a server or set of servers.

Who the responsible parties are (owners of the server or applications)
What applications the server supports (logical business systems that span multiple servers)
Maintenance information
And more

SCCM does a great job of inventorying the details of a [...]

Setting Validation Scripts in Desired Configuration Management

While DCM has a vast collection of query modes available to it in order to obtain a setting, there are times where the setting must be calculated or is not found in a consistent location.  In that instance, a VBScript option is available to you in order to locate or calculate the setting and return [...]

Detection Scripts in Desired Configuration Management

For application configuration items, a script may be specified to determine if an application is installed (as opposed to a Windows Installer GUID for instance). To do that, simply create a script that returns any kind of text. If text is returned, DCM will interpret that as a confirmation of installation. If no text is [...]

DNS Zone IP Address Translation

There are times where two networks are joined together and address translation (NAT) is being used. In order for computers on one side to find the IP addresses to be used on the other side, some mechanism is required to translate the names into the translated IP addresses.

Typically, this problem is solved by using a HOSTS file. While convenient for quick translation, it is difficult to manage (since it is local to each computer) and only facilitates the equivalent of the DNS A and CNAME record types. Usually those records are sufficient, but the SRV record type is also important for applications (such as Microsoft Active Directory, Microsoft Office Communications Server, and others).