Prev | Current Page 217 | Next

Joezer Cookey-Gam, Brendan Keane, Jeffrey Rosen, and Jonathan Runyon

"Professional Windows PowerShell for Exchange Server 2007 Service Pack 1"

This is by no means an exhaustive list because we find new ways to accomplish various
tasks on a daily basis. Not to be forgotten is the use of templates, which can prove very useful when
configuring identical properties on objects. The following cmdlets are discussed in this section:
??‘ Import-CSV
??‘ New-Mailbox
??‘ Set-Mailbox
??‘ Enable-Mailbox
??‘ Get-User
??‘ Get-MailboxStatistics
Chapter 4: Working with User and Group Objects
131
Figure 4-33
Bulk Creating Mailboxes
You can create new mailboxes using the New-Mailbox cmdlet as described earlier in this chapter.
Sometimes, however, an administrator may be asked to create a large number of user mailboxes based
on a comma - separated value spreadsheet. How can you accomplish this with minimal effort?
Fortunately, the Import-CSV cmdlet is helpful here. In this case you can easily import the CSV file and
use the New-Mailbox cmdlet to quickly create the mailboxes.
So, assume after a job fair that a company ??™ s representative passes the following spreadsheet for new
hires starting the following Monday. The administrator would have to create their mailboxes and
generate their email addresses based on the list in Figure 4 - 33 .
The first step is to verify that the CSV file is in a format you can import from. You use the Import-CSV
cmdlet and specify the CSV file.


Pages:
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
Rowy noclegi tatralandia hotele świnoujście noclegi Namioty Mazury i interesująca cena South park