??‘ The FirstName and LastName properties have been included as input from the CSV file. If
these values are not provided at the time of account creation, they remain blank. In most cases
this does not cause an issue. However, if you specify an email address policy that uses the first
and last name attributes to form an address ( %g.%s@exchangeexchange.com ), you would not
be able to stamp that address on these user accounts. As a good practice when creating mailbox -
enabled user accounts you should always include first and last names when possible.
??‘ The default output of New-Mailbox is suppressed. Instead, all output including errors are redirected
to a log file that can be used afterwards for diagnostic purposes. The information written
to the log identifies the objects being processed and any specific errors encountered.
??‘ A progress bar is displayed during execution to indicate the current user being processed and
the percentage of users that have been processed overall.
At first glance you may think that these improvements are going to be difficult to implement, but
actually you ??™ ll be able to take advantage of functionality already provided by built - in commands. Once
you break the script down into its component pieces and look at them individually they are quite easy to
understand.
Pages:
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591