function Update-MailPublicFolder( [string] $inputstring=$(throw '$inputstring is required') ) { $pubfolder=Get-MailPublicFolder "$inputstring" Set-MailPublicFolder $pubfolder.Name -Alias $pubfolder.WindowsEmailAddress.Local Get-MailPublicFolder $pubfolder.Name }
Get-MailPublicFolder | select alias, WindowsEmailAddress
Get-MailPublicFolder | where {$_.alias -ne $_.WindowsEmailAddress.Local} | select alias, WindowsEmailAddress
http://blog.ronnypot.nl/?p=169
Open ExFolders on an exchange server
Right click parent folder of the deleted public folder and click “Show deleted subfolders”
Right click on the newly displayed deleted folder and select "Recover Folder"
Access is denied
INSUFF_ACCESS_RIGHTS
insufficient access rights
Create a new public folder
mail enable it
test adding a user with send as permission
http://www.networksteve.com/exchange/topic.php/INSUFF_ACCESS_RIGHTS/?TopicId=17917&Posts=8
Open ADSI Edit
Expand the Domain \ Microsoft Exchange System Objects
right click on the object select properties
Select security
click advanced
Select the owner tab
change the owner to be the same as the owner of the test public folder you created.