Run Command on Workstation Jobs

The Run Command on Workstation job is the most common type of job used in SMS. This job is actually run on the target clients in the context of the package share that is associated with the job. It is used to install, remove, and maintain software on target clients.

The following is a sample of a PDF that might be included in a Run Command on Workstation job:

[PDF]
Version=1.2

[Simple Server Install Setup]
CommandLine=instsrv.bat Install
CommandName=Automated installation of the Simple Service
UserInputRequired=FALSE
SynchronousSystemExitRequired=FALSE
SupportedPlatforms=Windows NT (Alpha), Windows NT (MIPS), Windows NT (x86)


[Simple Server Uninstall Setup]
CommandLine=instsrv.bat Remove
CommandName=Automated deinstallation of the Simple Service
UserInputRequired=FALSE
SynchronousSystemExitRequired=FALSE
SupportedPlatforms=Windows NT (Alpha), Windows NT (MIPS), Windows NT (x86)


[Package Definition]
Product=Simple Server
Version=1.0
Comment=Simple Server from the WIN32 samples of VC++ 2.0
SetupVariations=Simple Server Install, Simple Server Uninstall

[Setup Package for Inventory]
InventoryThisPackage=TRUE
Detection Rule Part 1=file 1

[file 1]
FILE=SIMPLE.EXE
COLLECT=FALSE
Checksum=
CRC=
DATE=
SIZE=
TIME=
BYTE=
WORD=
LONG=
TOKEN 1=
TOKEN 2=
TOKEN 3=
TOKEN 4=