Modifying terminal server profile properties from a command line.

Using the script at the technet script center I was able to quickly go through and modify all the users properties for their terminal server profile. It is not possible to do this by bulk selecting the users, right clicking and choosing properties and then entering in \\server\dir\%username% like you would for the home directory.