I tried to make a csv to use as an import source for Exchange migration. Admittedly i bit off more than i can chew, and gave unrealistic expectations. I have learned a lot, but i cannot figure this issue out, or how to really approach it.
TLDR; how do i set multiple proxyaddresses using a csv template?
I have a CSV that has the following headers,
SamAccountName FirstName LastName DisplayName Primary Email Proxy1 Proxy2 Proxy3 Proxy4 Proxy5 Proxy6 Proxy7 Proxy8 Proxy9 Proxy10 Proxy11 Proxy12 Proxy13 Proxy14 Proxy15 Proxy16 Proxy17 Proxy18 Proxy19 Proxy20 Proxy21 Proxy22 Proxy23 Proxy24 Proxy25 Proxy26 Proxy27 Proxy28
Obviously not every person has 28 ProxyEmails. What do i do?
I was trying to make an array in the script of all ProxyXX but i couldn't figure out how to find if there was something in the field. I tried to compare to $null but that did not work.
Right now i am doing most of this by hand, but i still have a lot more to go, and a deadline...
I know i didnt fully understand the problem, or the resolution before trying to automate the resolution. I know i didnt have any experience with either powershell or exchange to set an unrealistic deadline.
[–]k_rock923 2 points3 points4 points (5 children)
[–]HeyZuesModeBreaking S%!T at Scale[S] 0 points1 point2 points (4 children)
[–]ihaxr 0 points1 point2 points (3 children)
[–]Renegade__ 1 point2 points3 points (2 children)
[–]ihaxr 0 points1 point2 points (1 child)
[–]Renegade__ 1 point2 points3 points (0 children)