exchange

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
pramod1Asked:
Who is Participating?
 
Viral RathodConnect With a Mentor ConsultantCommented:
0
 
Michael MachieFull-time technical multi-taskerCommented:
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
 
pramod1Author Commented:
account is active, it is not disconnected, only mistake I think is "" around the database name.
I will confirm you tomorrow
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
Marshal HubsEmail ConsultantCommented:
Is Log file exist on that location? Please check permissions on that folder. Also make sure that all Exchange services are running
0
 
pramod1Author Commented:
SEARCH MAILBOX IS NOT RECOGNIZED IN EXCHANGE 2007
0
 
pramod1Author Commented:
I am running 2007
0
 
Michael MachieFull-time technical multi-taskerCommented:
Is your issue fully resolved?
0
 
pramod1Author Commented:
are u available I posted fresh question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.