I need to create a solution in powershell that iterates through all my user profiles, finds the ones that have empty work email fields, and populates that field with whatever is in the name field (which also happens to be the email address). I would have to type a novel to explain how I got to this issue but could someone help me out with the powershell please. I have been trying for a while now with no luck.
Thanks in advance!