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

EV | Powershell | Enable Mailboxes for Archiving | How to?

Hi

I would like to automate this procedure using Powershell.

Do you have an example of a Powershell script which can be used?

When I manually enable the mailboxes for archive all I do is use the "Enable mailboxes for Archiving" > List all available mailboxes > New mailboxes only > select the user > go next Vault Store and Retention Category are defaults > next The mailboxe primary account   > next Immediatly using the default archivning settings > Finish

I will then create a shell so all I need to do is insert the username.

Thanks, P

 

 

2 Solutions

Accepted Solutions
Highlighted
Accepted Solution!

Unless it has changed in EV

Unless it has changed in EV 11.0.1, I don't think you can do this via PowerShell.

You can do it via EVPM though.

 

http://www.symantec.com/business/support/index?page=content&id=TECH37899

Working for Quadrotech-it.com

View solution in original post

Highlighted
Accepted Solution!

there's really nothing to it

there's really nothing to it if you use EVPM. it's fully covered in the Utilities.pdf that comes with EV. here's an example of an INI file for EVPM to enable a mailbox for archiving:

[Directory]
DirectoryComputerName= EVserver1
SiteName = EVSite
[Mailbox]
DistinguishedName = /o=company/ou=department/cn=Recipients/cn=msmith
[Folder]
Name = mailboxroot
Enabled = true

View solution in original post

8 Replies
Highlighted
Accepted Solution!

Unless it has changed in EV

Unless it has changed in EV 11.0.1, I don't think you can do this via PowerShell.

You can do it via EVPM though.

 

http://www.symantec.com/business/support/index?page=content&id=TECH37899

Working for Quadrotech-it.com

View solution in original post

Highlighted

like rob said, user mailboxes

like rob said, user mailboxes can be enabled via script but you have to use EVPM. EVPM.exe could be called via powershell as part of another script or process. let us know if you have any further questions.

Highlighted

Hi Everyone, Do you have a

Hi Everyone,

Do you have a script ready to do this? Enable mailboxes for Vault.

P

Highlighted
Accepted Solution!

there's really nothing to it

there's really nothing to it if you use EVPM. it's fully covered in the Utilities.pdf that comes with EV. here's an example of an INI file for EVPM to enable a mailbox for archiving:

[Directory]
DirectoryComputerName= EVserver1
SiteName = EVSite
[Mailbox]
DistinguishedName = /o=company/ou=department/cn=Recipients/cn=msmith
[Folder]
Name = mailboxroot
Enabled = true

View solution in original post

Highlighted

Hello, I have a similar task

Hello,

I have a similar task to do. But I have a list of users do enable, and I already have the DN for all of them.

Will it work if I simply put more than one line of 

DistinguishedName = /o=company/ou=department/cn=Recipients/cn=msmith

in the ini File? Or will I need one separate ini File for each user?

Thank you,

Best regards,

Florian Reber

Highlighted

We've been doing this on a

We've been doing this on a new EV10 server for a couple of months. It was taking 15-20 mins to enable around 100 users but now it's taking about 3 hours! It seems to just pause between users. The archives are created correctly, no warnings or errors (apart from not finding the welcome message, which we never use.)

Any idea why it's suddenly become slow please?

Thanks.

Highlighted

Have you done a DTRACE?

Have you done a DTRACE?

Working for Quadrotech-it.com
Highlighted

Fixed it by restarting the EV

Fixed it by restarting the EV services in our cluster. Seems to be out of memory - started to get "out of storage errors" when trying to manually enable users.

Btw what's the EV ServerInstance service? Anyone got a verified script to restart EV in a cluster please?