Automatic & Selective Enabling of User Accts
Hi I need to be able to either
Enable a user for archiving with a powershell Script (we have archiving tasks / mailboxes over two mail servers)
Use a AD attribute (preferable a cumstom one) that the auto enroll function can detect then enable the account for archiving.
Basically my problem is that we have numorous service / special accts with mailboxes we do not want to push to EV, but currently have no way to distinguish them which is where the custom attribute would help. in my ideal situation i would like to sweep AD user objects once a week and enable any objects with a certain attribute.
i could even script this if i could get a powershell command to enable the MB for archiving, we are using EV10 with exchange 2010 at the moment
Thanks
if you are going to use a custom AD attribute in AD then you can use an LDAP query in your Provisioning Group...
So you could do the following
1. Open the Vault Admin Console2. Expand out Directory on Server -> SiteName -> Targets -> Exchange -> YourDomain -> Exchange Server3. Click Provisioning Group4. Right click New -> Provisioning Group5. Press Next6. Give a name to the provisioning group like "EV Users" and press Next7. Press the Add Button8. Choose "LDAP Query" and press OK9. Give the Display NAme a description like "EV Users (Attribute 6)"10. The query root should be filled out alreadyshould be something like GC://gcServer.myDomain.com/DC=myDomain,DC=com11. In the query type the following to enable based on Custom Attribute 6 in AD:(&((extensionattribute6=EnableEV)))12. Press OK and then follow the prompts through to the EndMake sure that "Archive Mailboxes in this provisioning group is checked"Make sure that on the Archiving Defaults that "Automatically enable mailboxes" is checkedand thats all you really need to do, run provisioning making sure that the group is appropriately placedThe enablements will occur when the archiving task kicks off so you dont have to manually enable anyone