Announcement

Collapse
No announcement yet.

Copy value from one attribute to another

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Copy value from one attribute to another

    When we were using Exchange 5.5 we used extensionAttribute9 to Store the EmployeeID. Now we want to copy this from extensionAttribute9 to employeeID. Can I use something like Manage Directory Attributes for these 2 attributes to copy from one to another? Or is there any thing that you could recommend?

    Thanks for the help and Hyena is awesome.

  • #2
    Re: Copy value from one attribute to another

    Yes, you can do this with the beta of Hyena v6.7, but make sure that you only do this with the beta (not the release of v6.6). To do this, you need to use the attribute replacement feature of the Manage Directory Attributes function. For the new value of EmployeeID, you would set it to the value of another attribute. To do that, you surround the attribute with percent (%) signs.

    I assume that the ExtensionATtribute9 is in the AD, not Exchange's LDAP. Otherwise, you would have to write an LDAP script to do that, as Hyena can't access both directories at the same time.

    To get the beta, send a blank email to [email protected], then go to http://www.systemtools.com/hyena/beta.html; if you have a beta now make sure you have the latest, and most import:

    TEST on a FEW objects first.
    Kevin Stanush
    SystemTools Software Inc.

    Comment


    • #3
      Re: Copy value from one attribute to another

      I downloaded the beta; thanks. So, would I still Right Click on a user and choose Manage Directory Attributes. Then add employeeID and the extensionAttribute9 then Modify the one that is blank and where it stats set new value put the %extensionAttribute9% there? If so, I am limited to 16 characters. Data Type: VT_BSTR - DirectoryString - Minimum Length = 0, Maximum Length = 16. Unless I am missing something, because I did not see the attribute replacement feature option. Thanks again for the help.

      Comment


      • #4
        Re: Copy value from one attribute to another

        Since I was limited to 16 characters I first copied the extensionAttribute9 to the comment attribute. After that I then copied the comment attribute to the employeeID attribute since %comment% is under 16 characters. Then wiped out comment. This worked great. Again, thank you for recommending Hyena 6.7 Beta.

        Comment


        • #5
          Re: Copy value from one attribute to another

          Thanks for pointing out this limitation. We limit the data entered based on the maximum amount of information that AD tells us can be entered, but the replacement attribute feature interferes with this, so we might have to address this at some point and make it a warning instead of an error, or detect the double %'s in the data and let happen what happens.
          Kevin Stanush
          SystemTools Software Inc.

          Comment

          Working...
          X