The reason i say is cause Get-Mailbox simply gives you Attribute information and not Mailbox data information so i dont think its that simple with Exchange 2007 whereas in Exchange 2010 you have the Search-Mailbox but Export-Mailbox in Exchnage 2007 cant be run from the Exchange server .... one would need to install tools on some client machine and work so a BIG headache in a way
Rancy - the original command I asked about did not work because -DeleteContent caused an error.
I tried your suggestion, but after entering it, I get a ">>" prompt that appears to want more input.
I've just been advised to delete the user anyway, but I would like to get this to work for future reference (throw it in my procedure file).
Thanks for your help.
Manpreet SIngh Khatra
So firstly you marked the solution to wrong post and quiet quickly :( (So you should ideally hit Request Attention)
Look as i said you can get the data to a PST normally and then do a Disable and New mailbox ........... also as i said this cant be done from Exchange Shell on the server ....... you have to install Exchange Management tools on a 32 bit client and then run from there
get-mailbox -Identity "username" | fl
then
Get-Mailbox "username" -DeleteContent WhatIf