Solved

Bulk Enable Archive Exchange 2010

Posted on 2014-02-13
2
447 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
Comment Utility
0
 
LVL 40

Accepted Solution

by:
Subsun earned 350 total points
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this video we show how to create a User Mailbox 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 >> Mailb…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now