Hello Sacha_Blackwood,
Thank you for posting in Microsoft Community forum.
The method in the following link may be helpful to you.
Use the PowerShell AD Provider to Modify User Attributes - Scripting Blog [archived] (microsoft.com)
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou