Ask a question

Greg Mohr

On section 16 and am trying to remove exchange and running into errors

When I run the Get-MailboxDatabase | ft Name,PublicFolderDatabase 

I get one DB showing up I then run the command below  I get a message
   Remove-PublicFolderDatabase -Identity "Public Folder Database 0501558777

The public folder database "Public Folder Database 0501558777" contains folder replicas. Before deleting the public fol
der database, remove the folders or move the replicas to another public folder database. For detailed instructions abou
t how to remove a public folder database, see http://go.microsoft.com/fwlink/?linkid=81409&clcid=0x409.
    + CategoryInfo          : InvalidOperation: (Public Folder Database 0501558777:ADObjectId) [Remove-PublicFolderDat
   abase], InvalidOperationException
    + FullyQualifiedErrorId : 7832B3C3,Microsoft.Exchange.Management.SystemConfigurationTasks.RemovePublicFolderDataba
   se

I can;t find a second DB anywhere and am not sure where to go an dhow to proceed at this point.

If yo can provide some direction that would be great.

Thanks,

Greg


asked03/04/2020 21:42
52 views
Add Comment
Mariette Knap

Can you post the output of:

Get-MailboxDatabase | fl Name,Pub*

 

Greg Mohr

[PS] C:\Windows\system32>Get-MailboxDatabase |fl Name,Pub*


Name                 : Mailbox Database
PublicFolderDatabase : Public Folder Database 0501558777


replied 03/08/2020 02:10
Greg Mohr

After 3 more restarts I was able to get past this point.  Now hitting a roadblock at the Remove-WindowsFeature AD-Certificate

Remove-WindowsFeature : Failed to initialize.
At line:1 char:22
+ Remove-WindowsFeature <<<<  AD-Certificate
    + CategoryInfo          : OperationStopped: (:) [Remove-WindowsFeature], COMException
    + FullyQualifiedErrorId : DiscoveryFailed,Microsoft.Windows.ServerManager.Commands.RemoveWindowsFeatureCommand

 

Trying to move past this and get the server fully decommissioned in the next few days.

Any suggestions?

Thanks,

Greg


replied 03/08/2020 14:44
Host

Run 'Import-Module ServerManager' before you start 'Remove-WindowsFeature'


replied 03/08/2020 16:37
Greg Mohr

I have done that 3 times so far.


replied 03/08/2020 18:06
Last Activity 03/08/2020 18:06

No answers found

Add an Answer