Quantcast
Channel: Software Communities : Popular Discussions - ActiveRoles
Viewing all articles
Browse latest Browse all 1277

Active Roles Provisioing script for TSprofilehomedirectory...

$
0
0

Hello All,

 

My scripting capabilities are very limited and am trying to learn PowerShell. At the moment, I am in need of ARS provisioing script which would populate three users attributes upon a user creation and and modifies two of the attributes values when user samaccountname changes. The script should create two folders for TSprofilePath and TSProfileHomeDirectory on a network share after the user creation and populate values.

The three attributes are TShomeDrive = U, TSProfilePath = a network share (\\server\share\user\%username%) and TSProfileHomeDirectory = a network share (\\server\share\user\%username%).  When a user samaccountname is renamed, the username changes should be reflected in TSProfilePath and TSProfileHomedirectory attributes as well.

 

Help would be appreciated...

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 1277

Trending Articles