What I am trying to do is that there are a lot of user id's in our Windows Active Directory that when you go to the properties of the id's, in the "Office" field, it says (for this example) "test this". I was wondering if there is a way to write in PowerShell to find all the users in Active Directory with "test this" written in the "office" field, and then to remove the words "test this" from the Office field.
Any help is greatly appreciated!