Alternatively I found a 3rd party utility called TSCMD that allows you to manipulate all of the TS parameters from the command line. I found it really easy to use within KIX (shell out), and didn't need to learn about ADSI or VB objects.
Mark