Forum Discussion

Portugal's avatar
Portugal
Level 2
10 years ago

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...
  • AndrewB's avatar
    10 years ago

    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