Editing phone number assigned to a user
This article describes how to format a telephone number assigned to a user from +XXXXXXXXXX to XXX-XXX-XXXX.
In the Cayosoft Administrator Console, create the AD Users | Set Attributes Value rule.
Configure the Query section as described in the following article: .
In the Action section, locate the Active Directory attribute that indicates a telephone number.
-
Copy and paste this script to the Value setting:
Copy{[String]::Format('{0:###-###-####}',[Int64]($FoundObject.telephoneNumber -replace '\D+1(\d+)','$1'))} Save changes.
Comments
0 comments
Please sign in to leave a comment.