tmorrison3
asked on
Use Admodify.net or a script to make bulk field change
I have some information in Exchange 2007 in Custom Attribute 1 - it is a web URL http:/server/photo/user name.jpg. I need to change half of the URL to point to a different server: http://newserver/directory/photo/user name.jpg.
I am trying to use ADmodify.net to make the changes but can't figure it out - I only need the first half of the string changed. Is there an easier/better way to accomplish this?
Thanks
I am trying to use ADmodify.net to make the changes but can't figure it out - I only need the first half of the string changed. Is there an easier/better way to accomplish this?
Thanks
ASKER
When I try to add %'samaccountname'%.jpg I keep getting an error:
message="ADMODIFY.ERR - An error occured while parsing attribute . The error was: Could not find any recognizable digits." />
I works when i dont try to use any variables /%'dispalyName'%.jpg fails also
The string I am entering is http://servername/photos/%'samaccountname'%.jpg
(the actual path does not exist yet - is that an issue?)
Thanks
message="ADMODIFY.ERR - An error occured while parsing attribute . The error was: Could not find any recognizable digits." />
I works when i dont try to use any variables /%'dispalyName'%.jpg fails also
The string I am entering is http://servername/photos/%'samaccountname'%.jpg
(the actual path does not exist yet - is that an issue?)
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(and no, it doesn't need to be a valid path yet)
ASKER
I ended up changing the path to only /photos//'%displayName'%.j pg I still needed the extra slash to make it work. Thank you for your help.
In ADModify whichever string you're modifying, use the following syntax:
http://newserver/directory/photo/%'samaccountname'%.jpg
(be sure to include the apostrophe's inside the percent signs as well)