Solved

Proof read a exchange management shell

Posted on 2014-03-02
5
205 Views
Last Modified: 2014-03-05
I am not familiar with exchange management shell and was asked to remove mail from a user between 01/01/13 to 12/31/13.  Did a search and came up with the following

Export-Mailbox -Identity BrittanySaxton -StartDate "01/01/2013" -EndDate "12/31/2013" -DeleteContent

Then I get this message below see screen shot.  

I know I am missing something small.

Your help is greatly appreciated

BA
untitled.JPG
0
Comment
Question by:bachopper
[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
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:Michael Ortega
ID: 39898897
Trying adding the account you're logged in with permission to her mailbox first:

Add-mailboxpermission -identity BrittanySaxton -accessrights fullaccess -user <the user that you're running the command with>

MO
0
 

Author Comment

by:bachopper
ID: 39898916
Its the Administrator i need to do that
0
 
LVL 16

Accepted Solution

by:
Michael Ortega earned 500 total points
ID: 39898928
You should try and use a user account other than "Administrator" to manage your Exchange environment with. Be default the "Administrator" account is denied access to a lot of things. That's just a best practice suggestion.

At any rate, try:

Add-mailboxpermission -identity BrittanySaxton -accessrights fullaccess -user Administrator

And then try your original command again.

MO
0
 

Author Comment

by:bachopper
ID: 39898966
Thanks for the best practice.  If I give access to myself and I am a domain administrator what is the difference than giving the access to the administrator?  Just want to make sure I understand
0
 
LVL 16

Expert Comment

by:Michael Ortega
ID: 39899025
Not sure I understand your question.

If you're using "Administrator" to log into your Exchange server and run the command then the "Administrator" needs to have the fullaccess permission on the mailbox in question.

If you're logging in with your own account to run the command then your own needs the fullaccess permission on the account in question.

MO
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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 aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create an Accepted Domain 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 >> Ac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

705 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