cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

EV Export wizard + remove shortcuts

adebola24
Level 5
Partner Accredited

Hi

i need a solution to remove EV shortcuts from 100+ mailboxes once the export wizard has run

our customer is removing EV functionality in a subset of their business, they have approx 100 mailboxes and wish to restore these mailboxes back to full mail and stop EV archivng them

i have experience running the Export tool from EV, however when running this the shortcuts are not deleted when the mail is restored, so ...

 

i'm after a solution to bulk remove the EnterpriseVault.shortcut message class from all mailboxes 

 

i understand that i can use Exchange Powershell to do this and have the following command

anyone know how i can translate this into searching for the EnterpriseVault.shortcut message class ?

 

Delete all emails that meet the search query

1 Get-Mailbox -Server  "*Server*" | Search-Mailbox -SearchQuery'Subject:"*Subject*" and Body:"*Body*"' -deletecontent

 

1 ACCEPTED SOLUTION

Accepted Solutions

RahulG
Level 6
Employee

Well you have all the data in the archvie so you set up shortcut expiry , which would delete all the shortcuts from the mailbox and  later you can eport the archvie the mailbox.. You can set the shortcut expiry in the mailbox policy .

View solution in original post

6 REPLIES 6

Rob_Wilcox1
Level 6
Partner

I don't think that that Powershell command will help you.

 

According to http://technet.microsoft.com/en-us/library/bb232132.aspx#AQS there isn't support for message class.

 

You may well be better off either with :-

 

  • VBSCRIPT + CDO
  • Redemption

 

To be honest I also thought if you exported the archive back to the original mailbox then it would remove the shortcuts (and replace them with the full item)

Working for cloudficient.com

adebola24
Level 5
Partner Accredited

hi Rob, i presumed that would be the case, but having just tested it a couple of times in my lab it hasnt done it

it left the shortcut 

i had an idea let me know your thoughts

if we ...

1) restore a mailbox back to full mail, then

2) delete the particular archive from EV, then

3) set shortcut deletion to delete orphaned shortcuts, then

4) EV would delete the shortcuts for us ?

 

Chris

JesusWept3
Level 6
Partner Accredited Certified

The only shortcuts that should exist are
1. Shortcuts that don't belong to the user
2. Orphaned Shortcuts (Shortcuts where the item was deleted through Expiry/AE/Search but the shortcut remained)
3. Shortcuts that have been copied/moved to a different location and Moved Shortcuts is not enabled within the policy

You can do a combination of Shortcut Expiry set to 1+ day and orphaned shortcut deletion

https://www.linkedin.com/in/alex-allen-turl-07370146

RahulG
Level 6
Employee

Well you have all the data in the archvie so you set up shortcut expiry , which would delete all the shortcuts from the mailbox and  later you can eport the archvie the mailbox.. You can set the shortcut expiry in the mailbox policy .

adebola24
Level 5
Partner Accredited

i have had success by running the export wizard to restore the mail, then setting the shortcut deletion date to 0 days, synchronising the new policy then running shortcut processing - this deleted the shortcuts :)

 

 

adebola24
Level 5
Partner Accredited

 

shortcut deletion should say 1 days