Link to home
Start Free TrialLog in
Avatar of nav2567
nav2567Flag for United States of America

asked on

Update AD user attributes

Hello,

I am trying to use the below command to update the title, department, ipphone, Office, street address, city, state, zip, phone number of user attributes.  

Would someone please check if the parameters are correct?  I am getting error on the IPPhone parameter and also not sure if other parameters are correct.  

Is there a KB that helps me find the name of the correct parameters?  

Thanks.

Set-ADUser -company $user.company -title $user.title -department $user.department -ipPhone $user.ipphone -physicaldeliveryofficename $user.office -streetaddress $user.streetaddress -L $user.city -st $user.state -postalcode $user.postalcode -telephonenumber $user.telephonenumber
}
Avatar of Brian B
Brian B
Flag of Canada image

Here is the MS documentation on the command: https://technet.microsoft.com/en-ca/library/ee617215.aspx

I don't think ipphone is a parameter is a valid parameter. What fuctional level are you running at?

I suppose for troubleshooting purpose, just take out that parameter and see if it works.
SOLUTION
Avatar of Todd Nelson
Todd Nelson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nav2567

ASKER

I need to update the IpPhone field for the users - please see the attached.  

What should I do?

Thanks.
attr.png
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sufficient information provided for solution.