Wednesday, March 23, 2011

Configure Terminal Server User Profile – PowerShell Script

This PowerShell script can be used to change the Terminal Server user profile in the Active Directory.  You can update the script with the following terminal server attributes: 

TerminalServicesHomeDirectory
TerminalServicesProfilePath
TerminalServicesHomeDrive

Downloadwww.sivarajan.com

I have uploaded this script onto the Microsoft Script Center also -

You can see more ore scripts at http://www.sivarajan.com/scripts.html

5 comments:

Explain more about this;eagerly to use this after understand

Please let me know if you have any specific questions about this script.

Hi, it works fine. just one question: is it possible to set a Drive letter for the TerminalServicesHomeDirectory option?

Thanks a lot,
Greetings Olli

Never used Powershell before, but we have a need to auto-change user's tsprofilepath when they change their name (php will not do it).
How can I change the script if I know the user's full OU, their distinguished name, the new tsprofilepath, the AD server for their domain etc
thanks

You can get the DN and get the OU information form user's DN

Post a Comment

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More