Powershell modify multi-string values in AD
I am modifying some AD values using powershell, below is part of a standard update for AD, but i am trying to add multiple values for otherIpPhone, can anyone help me with the code that i need to do this?
$objUser = [ADSI]"LDAP://CN=$cn,OU=$usertype,OU=$fullname,DC=domain,DC=co,D C=uk"
The values are all populated in my full script this is just a cut out,
The only other way I can think to do this is to pipe the update into admodify command line tool.
I have a vbs script to do this but i need to do this via powershell if possible,