RSS

how to 移除exchange2007组织内最后一个公用文件夹数据库

28 Aug

当你需要移除exchange 2007 组织内最后一个公用文件夹数据库的时候,你可能遭遇下面的问题。

Remove-PublicFolderDatabase : The public folder database "VMMBXCLU\SG02\SG02DB"
 contains folder replicas. Before deleting the public folder database, remove t
he folders or move the replicas to another public folder database. For detailed
 instructions about how to remove a public folder database, see http://go.micro
soft.com/fwlink/?linkid=81409.
At line:1 char:54
+ Get-PublicFolderDatabase | Remove-PublicFolderDatabase <<<<

而按照提示中的kb并不会帮你解决移除公用文件夹数据库的问题。

请依次执行下列脚本。

   1: Get-PublicFolderDatabase | Remove-PublicFolderDatabase 
   2: Get-PublicFolder "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue 
   3: Get-PublicFolder "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue 
   4: Get-PublicFolderDatabase | Remove-PublicFolderDatabase

Advertisements
 
Leave a comment

Posted by on August 28, 2009 in Exchange Server

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: