Quantcast
Viewing latest article 3
Browse Latest Browse All 6

Powershell Microsoft Active Directory full script

Image may be NSFW.
Clik here to view.
image
To finish the Powershell Microsoft Active Directory blog post series here is a script which I used for a customer. The script is used for moving the Terminal Server Home Drives of all TS users to a Central Directory. The central directory is based on the ServernameShare%USERNAME% value. The TS Home Drive location was set manually and different location were used. We needed to change this to one single location. Doing this manually would take us months so we need to automate these tasks.

So we need a script to get the TerminalServerHomeDrive path from the AD user object. After the copy action the TerminalServerHomeDrive path is changed to the new location.

Powershell Microsoft Active Directory script

You can download the script here.

Powershell Active Directory

Link

The post Powershell Microsoft Active Directory full script appeared first on www.barryschiffer.com.


Viewing latest article 3
Browse Latest Browse All 6

Trending Articles