Hi All,
So i've just finished the MVP Powershell course and figure i should put it too good use. Nothing better than practise, right?
We've moved our Exchnage services to O365 and i've been tasked with removing X500 / x500 (both are present) values from the "proxyAddresses" attribute for all users.
So, I've been able to remove an individual value from an individual AD Account using this;
Set-ADUser -Identity "username" -Remove @{proxyAddresses="x500Value"}
However, their are two values for each user. So i'd like to say;
Set-ADUser -Identity * -Remove @{proxyAddresses="*500*"}
This does run without error but doesn't remove anything. I'm assuming that this is because it's recognising the 'wildcard' (in proxyAddresses value) as a character instead of a 'wildcard' in the value but i've no idea what to do about it.
All help much appreciated.
Adam