Good morning experts!
I am looking for a script (ps prefered) that will replace a character in computer accounts description in a particular OU.
Under MYCompany OU:
If ':' exists, replace it with '.'
If '/' exists, replace it with '.'
If '(' exists, replace it with ' ' (space)
If ')' exists, replace it with ' ' (space)
We have added many descriptions over the years that include these types of characters, but now are running some ps scripts that these characters seem to interfere with. Periods seem safe, so we'd like to do a mass replace of all of the problem characters to replace them with either periods or spaces.
Your help is appreciated, as always!