cancel
Showing results for 
Search instead for 
Did you mean: 

EVPM Script in EV 10.0

jacen10
Level 5

Hello all

I created a script below:

[Directory]

DirectoryComputerName= evsrv

SiteName = evsrv1

[Mailbox]
ProvisioningGroup=Express Provisioning Group


[Folder]

Name= \Forever Vault

NonDeletable=True

retentioncategory=Default Retention Category

 

I also have 2 provisioning group i want to put here so all mailboxes will be included. I just want to create a Forever Vault to all mailboxes. Will this work?

Additional Info: We are running Exchange 2010 with DAG. 2 mailbox servers and 2 CAS/HUB. Please help. Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions

JesusWept3
Level 6
Partner Accredited Certified

Should work, but i think you will want to add OverrideArchiveLocks and put in a filter for the script too and apply it to the folder

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

View solution in original post

17 REPLIES 17

JesusWept3
Level 6
Partner Accredited Certified

Should work, but i think you will want to add OverrideArchiveLocks and put in a filter for the script too and apply it to the folder

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

jacen10
Level 5

Thank you. I will try and keep you posted.

jacen10
Level 5

Below is what i got so far according to what was mentioned above. Please let me know what you think. thank you.

 

[Directory]

DirectoryComputerName= evsrv

SiteName = evsrv1

[Filter]
 
Name = Filter1
 
CreateShortcut = true
 
DeleteOriginal = true
 
UnreadMail = true
 
UseInactivityPeriod = true
 
InactivityUnits = days
 
InactivityPeriod = 999999999

[Mailbox]
ProvisioningGroup=Express Provisioning Group


[Folder]

Name= \Forever Vault

FilterName = filter1

NonDeletable=True

retentioncategory=Default Retention Category

OverrideArchiveLocks = true

jacen10
Level 5

I forgot to ask. how will you run this script?

evpm -f \\servername\share\evscript.ini

is the above ok?

Thanks again.

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified

So with that Inactivity Period nothing in that folder will ever be archived.  Retention is controlled by the Retention Category, so you would need to create a Retention Category with a Forever setting.

retentioncategory=Forever Retention Category.

and to run the script it would be

evpm -e ExchangeServer -m SMTP:EVSystemMailbox -f \\servername\share\evscript.ini

I have never tried with a share for the file name.  I typically use C:\EVPM_Scripts\evpm.ini

jacen10
Level 5

Thank you for the reply. My Default Retention Category is configured to be my Forever Vault. Do i just delete the filter part?  

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified

Yes, the filter is if you want items to be archived by different settings than your mailbox policy.

You might want to create a different retention category because if you decide to change the default retention period it would affect this folder.

jacen10
Level 5

So below is my final script. Please let me know what you think. Thanks much.

 

[Directory]

DirectoryComputerName= evsrv

SiteName = evsrv1


[Mailbox]
ProvisioningGroup=Express Provisioning Group


[Folder]

Name= \Forever Vault

NonDeletable=True

retentioncategory=Default Retention Category

OverrideArchiveLocks = true

jacen10
Level 5

In addition, do i have to run this script everytime i add a new user in Exchange? or is it automatic?

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified

It looks ok to me.  You will have to run the script either manually after you enable a user or set it up to run via a schedule task.

jacen10
Level 5

Coolness..thank you...

jacen10
Level 5

I forgot to ask, when i put items inside the forever vault folder, how do i know that its being archive by enterprise vault? Will it have EV icon on the items? I tried it out and when i put emails in the folder, the mail icon did not change. Even when after running the tasks. Please share some info. Thank you. 

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified

That will depend on your archive rules from the Mailbox Policy.  What is set on your Archiving Actions tab?

If that is already set correctly then you may not be deploying the forms locally.  Article URL http://www.symantec.com/docs/HOWTO56714

 

jacen10
Level 5

Thank you. I will try it out.

jacen10
Level 5

If i were to re-write my script for a single user, what will i need to change?

JesusWept3
Level 6
Partner Accredited Certified

From:

[Mailbox]
ProvisioningGroup=Express Provisioning Group

To:

[Mailbox]
DistinguishedName = /o=First Organization/ou=First Administrative Group/cn=Recipients/cn=yourUser

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

jacen10
Level 5

Thanks!! I'll give that a shot