Solved

Bulk Enable Archive Exchange 2010

Posted on 2014-02-13
2
496 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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

820 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