Recovering mailbox from offline EDB file
Clearing log files - Exchange 2013
Hi,
looking for a advice regarding logs. My 90GB exchange system drive is getting edged on storage space and I found out there is a 31GB log folder V15 with various sub-folders.
For example, there is ..\Exchange Server\V15\Logging\ContactChangeLogging [4.4GB], full of years old *.LOG files, is it safe to move or delete all of these logs or let's say, all that are month+ older?
Is there any best practice or common tip in general how to handle excessive amount of logs? What's a safe headroom of storage on system drive? Currently i've got 20GB free out of 90GB. Having lesser makes me somewhat uncomfortable.
So far I am taking care just of the IIS logs from inetpub.
All advices appreciated, thanks in advance,
Andrej
Export shared mailbox permissions to csv
Is there any tool or script to export shared mailbox permissions to csv file?
I have used below command but this is creating multiple rows for each entry of every mailbox. Is it possible to arrange all permissions in single row for each mailbox.
Get-Mailbox -RecipientTypeDetails SharedMailbox | Get-MailboxPermission | ft Identity,User,AccessRights | Export-Csv C:\sharedmailboxpermission.csv –NoTypeInformation
We are on exchange 2010 sp3
user mailbox qouta has reache 98% in EXCHANGE 2013
Hi all
We have an issue with user mailbox quota in exchange 2013
user mailbox is empty but frequently get error " your email quota has reached 98% ..." in user OWA and outlook .
-its happen to just one of the user mailbox
How can i fix them ?
Thank you in advance
Cannot browse AD from Exchange 2013 ECP
Hello,
I can no longer browse AD from the Exchange 2013 ECP when creating a user or a dynamic distribution group. The list is empty.
We have less than 500 OU's so editing the web.config as mentionned in other forums does not apply.
Anyone knows what can cause this issue?
Thank you.
Security Alert appearing in exchange server 2013 sp1
Hello
if some body can help , how can if fix the below security alert that appearing in outlook 2013 since I renewed the certificate fromExchange admin center .
Thank you
MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.com
Hi there
exchange 2013 cu 20
We've been blocked by YAHOO for unknown reason,when i use GET-MESSAGETRACKINGLOG that who send mail or spam to YAHOO account i can see weird mailbox (MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@mydomain.com) that frequently send mail to YAHOO account .
Does anyone know how to translate this mailbox ?
How to fix this issue ?
Thank you in advance
Microsoft Exchange Transport service terminated unexpectedly
Hello,
We had an issue on Exchange Server 2013.
Apparently, the Microsoft Exchange Transport service terminated and restarted by itself, causing a disservice.
This is what appeared in Event Viewer:
13:31:53 "The Microsoft Exchange Transport service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 5000 milliseconds: Restart the service."
13:31:58 "The Service Control Manager tried to take a corrective action (Restart the service) after the unexpected termination of the Microsoft Exchange Transport service, but this action failed with the following error:
An instance of the service is already running."
13:32:00 The Microsoft Exchange Transport service entered the running state.
Can you help us to understand why happened this?
Thanks
Restore of log files
Hi,
I have an exchange server which have been running for a long time, without any backup (yes I know...), and as a result of this there is a huge amount of log files in my mailbox directory.
I'm about to set up a backup routine that will also truncate those logs.
But, the question is: Is it possible to use those logs to restore mailboxes in this database to a state back in time? Could I restore log files up to e.g. 2 years ago, and then have all mailboxes stored in this database as they were 2 years ago? Is this
a way to restore old deleted mails for mailboxes in this database?
/Tore
Prepending word "External" to Subject line by transport rules
Hi,
We are prepending\stamping a word "External" to Subject line by transport rules for all emails received from outside of organisation. The problem is that whenever the same mail is replied and received, It is again getting stamped. Can some one help me if we can avoid this by checking if the subject line has already the word external it should be ignored and should not get again stamped.
[EXTERNAL] RE: [EXTERNAL] RE: [EXTERNAL] RE: [EXTERNAL]
Thanks in advance
Mailbox migration fails (+ other issues)
Hi all,
We have an environment With 6 Exchange 2016 servers, where 2 was added recently (setup in own DAG and own mailbox database). Stuff such as mailflow and free/busy between them are working fine, but these are not working (both GUI and PowerShell):
1. Get database info on the New environment (when logged in to old environment), such as:
Get-MailboxDatabase -Server NewExchangeServer1 -Status | fl name,last*backup
The error generated is:
WARNING: Couldn't get the last backup time of database "New-Database1".
WARNING: Exchange can't get the size and the available space of the database "New-Database1".
WARNING: Couldn't get worker process info for database "New-Database1".
2. Mailbox migration from old to New environment
New-MoveRequest -Identity Test.User@domain.com -TargetDatabase "MBX-MD09"
The error generated is:
Failed to communicate with the mailbox database.
+ CategoryInfo : ResourceUnavailable: (:) [New-MoveRequest], MailboxOfflineException
Strangely, if we do the opposite (running PowerShell on the New server to get info of the old server and migrate mailbox from New server to old server), everything is working fine.
Repadmin /replsummary and repadmin /showrepl shows fine in both Exchange environment. Only one AD site available.
Not sure where to troublehsoot NeXT.
Any ideas?
thanks!
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work
Health Report for an Exchange Server
Hi
I need your help. I need to know what means the follow errors:
DB 01 - Could not determine server with active database copy
DB 01 - unhealthy database copy count is 1 (of 1 )
DB 01 - unhealthy content index count is 1 (of 1 )
DB 02 - healthy copy/replay queue count is 2 (of 3 )
DB 03 - unhealthy database copy count is 1 (of 3 )
DB 03 - healthy copy/replay queue count is 2 (of 3 )
DB 04 - healthy copy/replay queue count is 2 (of 3 )
DB 05 - healthy copy/replay queue count is 2 (of 3 )
DB 06 - healthy copy/replay queue count is 2 (of 3 )
DB 07 - healthy copy/replay queue count is 2 (of 3 )
DB 08 - healthy copy/replay queue count is 2 (of 3 )
DB 09 - unhealthy database copy count is 1 (of 3 )
DB 09 - healthy copy/replay queue count is 2 (of 3 )
DB 10 - unhealthy database copy count is 1 (of 3 )
DB 10 - healthy copy/replay queue count is 2 (of 3 )
DB 11 - healthy copy/replay queue count is 2 (of 3 )
DB 12 - healthy copy/replay queue count is 2 (of 3 )
DB 13 - healthy copy/replay queue count is 2 (of 3 )
DB 14 - healthy copy/replay queue count is 2 (of 3 )
DB 15 - unhealthy database copy count is 1 (of 3 )
DB 16 - healthy copy/replay queue count is 2 (of 3 )
Thanks
Output Lists to a file
Hello,
How can I output my whitelists, IP Addresses, blacklists, etc to a file? Can someone post the powershell cmdlet for me?
I know to view the blocked ip's I use this: Get-IPBlockListEntry
What would I add to output that to ipblocklist.txt?
Is it the same cmdlet for all your lists?
Thanks,
Executing PowerShell commands
We are currently running Exchange 2013 and have a number of Powershell scripts running on a MS Windows Server 2012 Standard Domain Server that execute AD as well as Exchange commands during their processing by using the "Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Snapin" and
"Import-Module ActiveDirectory" directives. We are upgrading to Windows Server 2016 Standard for our domain servers; however remain on Exchange 2013 for the time being. Since Exchange 2013 is not compatible with Server 2016 we are unable to install the Exchange 2013 Management Shell.
My question, is it possible to execute Powershell commands from the Exchange 2016 Management Shell on 2013 Exchange server by using the "Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Snapin"
Thank You
How to remove previous Federation Gateway Certificate
Our team recently renewed our Federation Gateway certificate which is working. However, we now have the old certificate that is still on our Exchange servers but has expired. When we try to remove the expired certificate, we get an error. We issued the PowerShell command "Get-FederationTrust | Select Org*Certificate" and we can see that the old certificate Thumbprint is listed in theOrgPrevPrivCertificate field. We have searched through TechNet, but have not found any procedure that describes how to remove the old certificate after it has been replaced with a new certificate. Any help would be greatly appreciated.
Our environment is Exchange Server 2013 CU15
Error “Failed To Connect To An Exchange Server In The Current Site” While Running Exchange 2013 Shell
hi
I've installed Exchange 2013 on Windows Server 2012 and it reported as successfully installed. I see no issues with Exchange Setup Logs.
On trying to connect to Exchange Management Shell I receive errors and I am unable to connect.
New-PSSession : [wes-ex-01.XXxxxxxxxxxx.net] Connecting to remote server wes-ex-01.xxxxxxxxx.net failed
with the following error message : The WS-Management service does not support the request. For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
i found this as answer for almost everyone but it didnt work for me
%SystemDrive%\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir -enable
i run this command for Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929 and this is what i am reciveing
******************************************************
Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Start installing ASP.NET (4.0.30319.17929) without changing existing web applica
tions to use this version of ASP.Net.
This option is not supported on this version of the operating system. Administr
ators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Win
dows Features On/Off" dialog, the Server Manager management tool, or the dism.e
xe command line tool. For more details please see
http://go.microsoft.com/fwlin
k/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.17929) without changing existing web appl
ications to use this version of ASP.Net.
******************************************************
i also run
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -ir -enable
but this time i am reciving this :
******************************************************
Start installing ASP.NET (2.0.50727).
.............................
An error has occurred: 0x80004005 Unspecified error
******************************************************
any Idea ?
reza
how configure certificates and Virtual Directory in Exchange Server 2016 for Local use
Need to configure properly certificates and virtual Directory, This fresh installation
* Certificate configuration need for "MS Outlook 2013,2016 and later" installed in the same domain.
AD Server - Windows Server 2012 R2
Exchange Installed Server - Windows Server 2012 R2
Domain Name: MyDomainName.intra
I need configure as https://online.MyDomainName.com/ecp and https://online.MyDomainName.com/owa
Thanks
Retention policy- item expired but not deleted, how to force remove expired items
Hello,
we have Exchange 2013 and created one new Retention policy with tag to remove items older then 1 day.
However, i see in my Outlook that policy is applied, and have note saying:
Why items are not deleted?
Here are details of retention policy and tag:
Retention policy:
[PS] C:\Windows\system32>Get-RetentionPolicy *empty* | fl
RunspaceId : 1c9bfc6d-b8a9-4c60-b28a-632a9cffa27b
RetentionId : 72ed08d7-1bc0-47e9-81e9-30d33507a8dc
RetentionPolicyTagLinks : {Deleted items- remove after 1 day}
IsDefault : False
IsDefaultArbitrationMailbox : False
AdminDisplayName :
ExchangeVersion : 1.0 (14.0.100.0)
Name : EmptyDeletedFolder24h
DistinguishedName : CN=EmptyDeletedFolder24h,CN=Retention Policies Container,CN=domainCN=Microsof
Exchange,CN=Services,CN=Configuration,DC=domain,DC=priv
Identity : EmptyDeletedFolder24h
Guid : 72ed08d7-1bc0-47e9-81e9-30d33507a8dc
ObjectCategory : domain.priv/Configuration/Schema/ms-Exch-Mailbox-Recipient-Template
ObjectClass : {top, msExchRecipientTemplate, msExchMailboxRecipientTemplate}
WhenChanged : 5/8/2015 8:34:13 AM
WhenCreated : 5/8/2015 5:16:25 AM
WhenChangedUTC : 5/8/2015 12:34:13 PM
WhenCreatedUTC : 5/8/2015 9:16:25 AM
OrganizationId :
Id : EmptyDeletedFolder24h
OriginatingServer : se-8301.domain.priv
IsValid : True
ObjectState : Unchanged
Retention tag:
[PS] C:\Windows\system32>Get-RetentionPolicyTag *remove* | fl
RunspaceId : 1c9bfc6d-b8a9-4c60-b28a-632a9cffa27b
MessageClassDisplayName : All Mailbox Content
MessageClass : *
Description : Managed Content Settings
RetentionEnabled : True
RetentionAction : PermanentlyDelete
AgeLimitForRetention : 1.00:00:00
MoveToDestinationFolder :
TriggerForRetention : WhenDelivered
MessageFormatForJournaling : UseTnef
JournalingEnabled : False
AddressForJournaling :
LabelForJournaling :
Type : DeletedItems
IsDefaultAutoGroupPolicyTag : False
IsDefaultModeratedRecipientsPolicyTag : False
SystemTag : False
LocalizedRetentionPolicyTagName : {}
Comment :
RetentionId : a30e3a63-1e88-4747-b48a-26fcbbd097cd
LocalizedComment : {}
MustDisplayCommentEnabled : False
LegacyManagedFolder :
AdminDisplayName :
ExchangeVersion : 1.0 (14.0.100.0)
Name : Deleted items- remove after 1 day
DistinguishedName : CN=Deleted items- remove after 1 day,CN=Retention Policy Tag
Container,CN=domain,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=domain,DC=priv
Identity : Deleted items- remove after 1 day
Guid : a30e3a63-1e88-4747-b48a-26fcbbd097cd
ObjectCategory : domain.priv/Configuration/Schema/ms-Exch-ELC-Folder
ObjectClass : {top, msExchELCFolder}
WhenChanged : 5/8/2015 5:19:11 AM
WhenCreated : 5/8/2015 5:13:43 AM
WhenChangedUTC : 5/8/2015 9:19:11 AM
WhenCreatedUTC : 5/8/2015 9:13:43 AM
OrganizationId :
Id : Deleted items- remove after 1 day
OriginatingServer : se-8301.domain.priv
IsValid : True
ObjectState : Unchanged
If anyone can suggest where is my problem i would appreciate help.
Thanks,
Ivica
Exchange 2010 Remove SMTP address from all of the mailbox
Hi,
I have removed a accepted domian from
ADEdit
- CN=Default Policy,CN=Recipient Policies,CN=Domian,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domian,DC=local
- gatewayProxy
and then remove it from
- EMC/Organization Config/Accepted Domian
Which is remove successfully
Then run following command on EMC consol
- Set-EmailAddressPolicy "Default Policy"
Then went to EMC/Organization Config/Email Address Policies -> right click on policy and click on apply.
After doing all that to update SMTP address on all mailboxs.
i can still see domian which doesnt not existed in our environment. how do I remove any smtp address related to xyz.com and abc.com
Mailbox folder permission
This permission only applies to the Inbox folders. How to apply the same permission to all the sub folders in a mailbox?
Set-MailboxFolderPermission -Identity "Shared Mailboxname\inbox" -User "Username" -AccessRights owner