setting extensionAttribute values via powershell

Set-ADUser -Identity [username] -extensionAttribute1 '[value to add]'

Set-ADUser -Identity [username] -extensionAttribute1 '[value to add]'