I know there's loads of examples around the net, but I'm wondering if someone knows of or has access to a basic one? Environment is 2012R2 with Exchange 2016 and just a couple of groups in AD.
If I wanted firstname.lastname as the SAM and lastname, firstname as the DisplayName would I do:
$SAM = $UserFirstname + "." + $UserLastName
$DisplayName = $UserLastName + "," + " " + $UserFirstName
The uri is the fully qualified domain name of the exchange server, so if your exchange server was 'srv-exchange' and your domain was 'college.local' then the fqdn would be 'srv-exchange.college.local'
Silly me, I had an = in front of the uri. No idea where that came from. On another error now, I need to develop this at home or on Azure a bit more I think.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.