Solved

Bulk Enable Archive Exchange 2010

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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
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…
In this video we show how to create a Contact 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 Recipients >> Contact ta…
In this video we show how to create an email address policy 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…
Suggested Courses

622 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