?
Solved

Bulk Enable Archive Exchange 2010

Posted on 2014-02-13
2
Medium Priority
?
627 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Assisted Solution

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

Accepted Solution

by:
Subsun earned 1400 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

719 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