02-24-2015 07:30 AM
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
Solved! Go to Solution.
02-24-2015 07:35 AM
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
03-02-2015 07:04 AM
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
02-24-2015 07:35 AM
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
02-26-2015 10:40 AM
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.
03-02-2015 12:57 AM
Hi Everyone,
Do you have a script ready to do this? Enable mailboxes for Vault.
P
03-02-2015 07:04 AM
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
03-05-2015 01:36 AM
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
06-02-2015 01:06 AM
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.
06-02-2015 01:32 AM
Have you done a DTRACE?
06-02-2015 04:04 AM
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?