How to remove a public subfolder

Home Forums Messaging Software Exchange 2007 / 2010 / 2013 How to remove a public subfolder

This topic contains 0 replies, has 1 voice, and was last updated by Avatar hilsoe 2 years, 9 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    hilsoe
    Participant
    #166524

    I have en Public Folder called, Test. I created the PF through Outlook and I have deleted it through Outlook, but when I use Get-PublicFolder -Identity NON_IPM_SUBTREE -Recurse | Format-List Name[/CODE] I can see that it still exsists. How do I delete it with PowerShell?

    I have tried with these commands
    [CODE]
    Remove-PublicFolder -Identity “Test” -WhatIf
    Remove-PublicFolder -Identity “IPM_SUBTREETest” -WhatIf
    Remove-PublicFolder -Identity “NON_IPM_SUBTREETest” -WhatIf
    [/CODE]
    All of them results in [I]The operation couldn’t be performed because [command] couldn’t be found.[/I][CODE]Get-PublicFolder -Identity NON_IPM_SUBTREE -Recurse | Format-List Name[/CODE] I can see that it still exsists. How do I delete it with PowerShell?

    I have tried with these commands

    Remove-PublicFolder -Identity “Test” -WhatIf
    Remove-PublicFolder -Identity “IPM_SUBTREETest” -WhatIf
    Remove-PublicFolder -Identity “NON_IPM_SUBTREETest” -WhatIf
    [/CODE]
    All of them results in [I]The operation couldn’t be performed because [command] couldn’t be found.[/I][CODE]
    Remove-PublicFolder -Identity “Test” -WhatIf
    Remove-PublicFolder -Identity “IPM_SUBTREETest” -WhatIf
    Remove-PublicFolder -Identity “NON_IPM_SUBTREETest” -WhatIf
    [/CODE]
    All of them results in The operation couldn’t be performed because [command] couldn’t be found.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.