none
ad attribute change across multiple ou's RRS feed

  • Question

  • company just changed from to a pllc and I need to updated everyone across ad. 

    I was trying 

    Get-ADUser -Filter {Company -like '*This is the company*'} | Set-Aduser -Replace @{Company="This is the company PLLC"}

    I don't get an error but nothing is changed either. What am I doing wrong? 

    Wednesday, November 20, 2019 9:33 PM

All replies

  • The command looks fine and should be working, what are you getting by just executing the below:

    Get-ADUser -Filter {Company -like '*This is the company*'}

    Are the users getting listed out or the result is blank?

    Thursday, November 21, 2019 11:02 AM