Hello,
Yes, it is possible using PowerShell. You will need a script like below. In the script:
- $propertyToCopy - Specifies the LDAP name of the property whose value will be copied to another property.
- $propertyToSet- Specifies the LDAP name of the property to update.
$propertyToCopy = "adm-CustomAttributeText1" # TODO: modify me
$propertyToSet = "adm-CustomAttributeInt1" # TODO: modify me
try
{
$valueToCopy = $Context.TargetObject.Get($propertyToCopy)
}
catch
{
$valueToCopy = $NULL
}
$Context.TargetObject.Put($propertyToSet, $valueToCopy)
$Context.TargetObject.SetInfo()