Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

exchange

Posted on 2016-11-17
8
Medium Priority
?
88 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

730 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