We are using a script to set the phone number in a business rule after creating a user :
$user = Get-AdmUser -Identity %sAMAccountName%
Set-AdmUser -Identity $user -OfficePhone $formattedNumber
In an other script in the same business rule (but with different conditions) i want to get the setted phone number, but i can't get this to work. I tried differt things:
$Context.GetModifiedPropertyValue("telephoneNumber")
%telephoneNumber%
But both won't work, is there another option?