cancel
Showing results for 
Search instead for 
Did you mean: 

evmp script for removing folders

jpergola329
Level 5

hello,

im trying to remove folders that were created by an evpm script.

im able to make the folder "deletable" then have to go to the mailboxes and remove.

is there anyway to do this with an evpm script.

this is what im using now.

thanks

 

[Directory]
DirectoryComputerName = xxx.xxx.xxx
Sitename = xxx
 
[Mailbox]
distinguishedname = /o=xx/ou=First Administrative Group/cn=Recipients/cn=xxx
 
[Filter]
name = 70days
CreateShortcut     = true
DeleteOriginal = true
unreadMAIL = true
UseInactivityPeriod = true
InactivityUnits = Days
InactivityPeriod = 70
 
[Folder]
name                    = mailboxroot
OverrideArchiveLocks = true
NonDeletable = true
Suspended               = false
enabled                 = true
 
[Folder]
name = \Managed Folders\!Plant Operations
filtername = 70days
RetentionCategory = !Plant and Facility Operations
OverrideArchiveLocks = true
NonDeletable = False
 
[Folder]
name = \Managed Folders\!Accounting
filtername = 70days
RetentionCategory = !Plant and Facility Operations
OverrideArchiveLocks = true
NonDeletable = False
 
[Folder]
name = \Managed Folders\!Acquisitions Mergers Divest
filtername = 70days
RetentionCategory = !Plant and Facility Operations
OverrideArchiveLocks = true
NonDeletable = False
 
[Folder]
name = \Managed Folders\!Employee Matters
filtername = 70days
RetentionCategory = !Plant and Facility Operations
OverrideArchiveLocks = true
NonDeletable = False
 
[Folder]
name = \Managed Folders\!Litigation Hold
filtername = 70days
RetentionCategory = !Plant and Facility Operations
OverrideArchiveLocks = true
NonDeletable = False
 
[Folder]
name = \Managed Folders\!Regulatory & Government Affairs
filtername = 70days
RetentionCategory = !Plant and Facility Operations
OverrideArchiveLocks = true
NonDeletable = False
 
1 ACCEPTED SOLUTION

Accepted Solutions

Rob_Wilcox1
Level 6
Partner

It's not possible with EVPM.

Working for cloudficient.com

View solution in original post

4 REPLIES 4

Rob_Wilcox1
Level 6
Partner

It's not possible with EVPM.

Working for cloudficient.com

jpergola329
Level 5

thanks for the quick response.

what would be best practice to remove, these are left over from a legacy migration.

if i need to ill go in the mailboxes, which i prob will have to do.

thanks

 

Rob_Wilcox1
Level 6
Partner

You could use either:

 

a/ VBScript + CDO

b/ Redemption

c/ Maybe Exchange Mailbox Manager

 

 

Working for cloudficient.com

PeterWendell
Level 4

There may be a way to do this with Powershell through the EWS. See the following:

http://social.technet.microsoft.com/Forums/windowsserver/en-US/bc07df23-64f1-4732-a399-76fd39b1595e/...