Set extension attribute for users in OU


  • Hi

    I have tried to change extension attribute 15 for users in one OU with the following command


    in domain .com there is OU named Toronto and then there is child OU named Printing

    But when I execute this command I get the following

    what could be wrong with this

    Dalibor Bosic

    Tuesday, March 21, 2017 11:17 PM


  • Try

    Get-ADUser -Filter * -SearchBase "OU=Printing,OU=Toronto,DC=domain,DC=com" -Properties* | set-aduser-Add@{extensionAttribute15="General"}

    • Marked as answer by cer113 Tuesday, March 21, 2017 11:27 PM
    Tuesday, March 21, 2017 11:24 PM