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
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
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