Prev | Current Page 618 | Next

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

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


Creating a Public Folder for the New Users
Exchange public folders offer a convenient method for storing and sharing information among mailbox -
enabled users. Most organizations take public folder administration out of the hands of users and rest
the responsibility on the shoulders of the Exchange administrator. Public folder creation and
administration are tasks suitable for automation via scripting.
This section explores a script that is used to create a public folder for a mailbox - enabled user, and then
set permissions suitable for that user to maintain their own content without allowing them to delete the
folder or create sub - folders. The folder when created is named using the full name of the user. The script
also confirms if the user is actually mailbox - enabled, and if the user actually needs a folder created in
case one already exists.
The script uses these cmdlets:
??‘ Write-Host
??‘ Get-PublicFolderDatabase
??‘ Get-PublicFolder
??‘ Get-Mailbox
??‘ Get-MailboxDatabase
??‘ New-PublicFolder
??‘ Add-PublicFolderClientPermission
Chapter 15: User, Group, and Public Folder Administration
455
The following lists the contents of script file newuser-publicfolder.ps1 :
# newuser-publicfolder.ps1
#
# Synopsis: This script creates a Public Folder based on a mailbox enabled user
# account used as an input value to the script.


Pages:
606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630
Paula Atherton podłogi drewniane Golec uOrkiestra 3 ubezpieczenie na narty mapy polski