Use as a script element.
SamAccountName Is based on prefix of UserPrincipalName if not
supplied in CSV file.
Shared Creates disabled account and shared mailbox. Cannot
be used in conjunction with Room or Equipment
parameters. Use as a script element.
TemplateInstance Use to create a new mailbox with configuration settings
based on an existing mailbox object. Use as a script
element.
Part IV: Automating Administration
430
The CSV File
A CSV file is a data file made up of text stored in columns/fields separated by commas, and
rows/records separated by newlines ( CR+LF ). Spreadsheet applications are ideal for creating CSV files.
They allow administrators to populate information in a structured row/column format before saving
the results as a CSV file.
The Import-Csv cmdlet requires the first row in a CSV file to contain the names for each column of
information. This first row is often referred to as the ??? header. ??? The names used in the header determine
the property names for the objects created when the CSV file is read by Import-Csv . Property names are
completely arbitrary but must not contain any spaces. For consistency, you should use names that
correspond to the cmdlet parameter names for which the property values are to be used as input.
The following example shows the first few lines of a CSV file that could be used as input for the
simplebulk-newmailbox.
Pages:
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586