Solved

exchange

Posted on 2016-11-17
8
63 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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. 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 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

Are your AD admin tools letting you down?

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

Utilizing an array to gracefully append to a list of EmailAddresses
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a Shared 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 >> Sha…
In this video we show how to create a mailbox database 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 Servers >> Data…

860 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