Solved

Bulk Enable Archive Exchange 2010

Posted on 2014-02-13
2
476 Views
Last Modified: 2014-02-18
Hello!  I am needing a script that I can run against a list of usernames that will do the following:

1) Enable Archiving
2) Put the Archive into the specific database
3) Pull list of names from a txt or csv file
4) Set specific quota limits on the archives

I have tried different ways but it keeps failing.  Any help would be greatly appreciated!
0
Comment
Question by:Sedgwick_County
2 Comments
 
LVL 13

Assisted Solution

by:Abhilash
Abhilash earned 150 total points
ID: 39856974
0
 
LVL 40

Accepted Solution

by:
Subsun earned 350 total points
ID: 39857322
Try this code.. Input the user name in C:\input.txt
Get-Content C:\input.txt | ?{$_} | % {
Enable-Mailbox -Identity $_ -Archive -ArchiveDatabase DB001 | Set-Mailbox -ArchiveQuota 10GB
}

Open in new window

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question