nav2567
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 -physicaldeliveryofficenam e $user.office -streetaddress $user.streetaddress -L $user.city -st $user.state -postalcode $user.postalcode -telephonenumber $user.telephonenumber
}
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 -physicaldeliveryofficenam
}
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I need to update the IpPhone field for the users - please see the attached.
What should I do?
Thanks.
attr.png
What should I do?
Thanks.
attr.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sufficient information provided for solution.
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.