Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 94
  • Last Modified:

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
0
pramod1
Asked:
pramod1
1 Solution
 
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
 
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
Viral RathodConsultantCommented:
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now