Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

exchange

Posted on 2016-11-17
8
Medium Priority
?
92 Views
Last Modified: 2017-01-01
Get-Mailbox -Database "database name"| Export-Mailbox -SenderKeywords “abc@domain.com” -IncludeFolders “\Calendar” –DeleteContent

I am running this script to remove calendar info of this user who left the company from a  particular database

when I run on cas server it says mailbox database is not found, I am typing the correct name and when I type on mailbox server

 error says cannot open the log file  c:\ program files\exchange server\logging\migrationlogs\export-mailbox 4567787-79679879.log
0
Comment
Question by:pramod1
8 Comments
 
LVL 13

Expert Comment

by:Michael Machie
ID: 41892218
1) Is the account still active in active directory?
2) Is the mailbox in a disconnected state? Check EMC under 'Recipient Configuration' -> 'Disconnected Mailbox'.
3)  Within 'Recipient Configuration' -> 'Mailbox', is the User email listed? Check the databases for this User and verify against your script.
4) Do not use the "" around the database name.
0
 

Author Comment

by:pramod1
ID: 41892366
account is active, it is not disconnected, only mistake I think is "" around the database name.
I will confirm you tomorrow
0
 
LVL 10

Expert Comment

by:Marshal Hubs
ID: 41892421
Is Log file exist on that location? Please check permissions on that folder. Also make sure that all Exchange services are running
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 17

Accepted Solution

by:
Viral Rathod earned 2000 total points
ID: 41892867
0
 

Author Comment

by:pramod1
ID: 41892877
SEARCH MAILBOX IS NOT RECOGNIZED IN EXCHANGE 2007
0
 

Author Comment

by:pramod1
ID: 41892878
I am running 2007
0
 
LVL 13

Expert Comment

by:Michael Machie
ID: 41943602
Is your issue fully resolved?
0
 

Author Comment

by:pramod1
ID: 41943964
are u available I posted fresh question
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

886 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