Solved

exchange

Posted on 2016-11-17
8
67 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 9

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
Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

 
LVL 17

Accepted Solution

by:
Viral Rathod earned 500 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 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