ADModify username variable

2017-12-11T16:21:50+00:00 August 26th, 2011|Azure, Cloud|

If you are using this very useful tool to change users home directory paths in AD and you need to input the path according to the user name, you may find that the regular %username% does not work with ADModify. The username value that the program does understand is:

%’sAMAccountName’%

For example a users home drive may be set using the following syntax:

serverhomedriveshare%’sAMAccountName’%

Hope this helps.

Paul