Prev | Current Page 597 | Next

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

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


When no CSV file is specified as input, this error message is generated:
[PS] C:\ > bulk-newmailbox.v1.ps1
You must enter the full path to a CSV file to use as input to this script.
Part IV: Automating Administration
442
When an invalid file path is specified (in this example bogus.csv does not exist) this error message
is generated:
[PS] C:\ > bulk-newmailbox.ps1 c:\bogus.csv
The file path entered is invalid. Please check the file path and try again.
When a valid path is specified, but the file is either not a CSV file or is not properly formatted (in this
example invalid.csv is a plain text file) this error message is generated:
[PS] C:\ > bulk-newmailbox.ps1 c:\invalid.csv
Failed to read the input file. It is either invalid or improperly formatted.
The user is only prompted for a secure master password after a valid input file is specified and all the
preliminary checks complete without failure. As the user types in the password, the keystrokes are
echoed to the screen as asterisks. Once the user presses Enter, the script continues to execute.
Note that the master secure password must satisfy the password length and complexity requirements for
the domain where the users will be created. If not, all accounts fail creation and the resulting errors
generated are recorded in the log file.


Pages:
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609
Caraudio gry kasynowe Tyskie agencja reklamowa poznaƄ Paula Abdul