Pages

Saturday, June 20, 2020

Check if activation is blocked on that server for the DB

Check if activation is blocked on that server for the DB. The error indicates that
Get-MailboxDatabaseCopyStatus  MBX-DB1\EMAIL2 |FL activationsuspended
or for the entire server
Get-MailboxServer  EMAIL2 | FL DatabaseCopyAutoActivationPolicy
If you want to remove that block:
Get-MailboxDatabaseCopyStatus  MBX-DB1\EMAIL2 |  Resume-MailboxDatabaseCopy

Thursday, June 18, 2020

Database Unable to Mount while Restoring the Microsoft Exchange Database

Database Unable to Mount while Restoring the Microsoft Exchange Database

Symptom
When I restore a Microsoft Exchange database, the database is unable to mount. The required logs are missing or the transaction logs are not contiguous. There are event errors such as 454, 455, and 2006 in the event log.

Monday, June 15, 2020

HOW TO: DELETE AND RE-CREATE THE EXCHANGE ECP VIRTUAL DIRECTORY

To delete the ECP virtual directory of your Exchange server and re-create it from scratch, you can use the below to get the identity of the virtual directory.

get-EcpVirtualDirectory |fl

Use this to remove the virtual directory in question

Remove-EcpVirtualDirectory -identity "MYSERVER\ecp (Exchange Back End)"

Create the new virtual directory use the below

New-EcpVirtualDirectory -externalurl "https://outlook.mydomain.com/ecp" -internalurl "https://myserver/ecp" -Server "myserver.mydomain.local"

HOW TO: REMOVE EXCHANGE MAILBOX EXPORT REQUESTS


HOW TO: REMOVE EXCHANGE MAILBOX EXPORT REQUESTS


After a number of exports or imports, you might need to clean up the failed, completed or other status when running the get-mailboxexportrequest report in PowerShell. To clean these open the Exchange PowerShell and run the below.

Clean Export requests
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
Get-MailboxExportRequest -Status Failed | Remove-MailboxExportRequest

Clean Import requests
Get-MailboxImportRequest -Status Completed | Remove-MailboxExportRequest
Get-MailboxImportRequest -Status Failed | Remove-MailboxExportRequest

Wednesday, June 10, 2020

VCenter 6.7: Resizing disk fails with error message

VEEAM failed recently to backup one of your servers. The error message was “Error: Virtual disk size is not a multiple of 1KB.”.
Error: Virtual disk size is not a multiple of 1KB

Thursday, May 14, 2020

Clear database for servicedesk plus

You need to stop the application and initiate reinitializeDB.bat from [ServiceDesk Home\Server] of the command prompt, this will drop all the tables.

Also if the database is PGSQL, then initiate initPgsql.bat  from the command prompt of ServiceDesk under [ServiceDesk Home\Bin].

Monday, April 20, 2020

Reject emails without sending notice to sender

Reject emails without sending notice to sender


Increasing expiry period of moderated distribution list messages - Exchange 2010/2013/2016/2019/Exchange Online

Connect to Exchange Online Powershell

Get-RetentionPolicyTag ModeratedRecipients | fl AgeLimitForRetention
You will see it as 2 days.


Increase it to preferred date(Tested with max 5 days)
Set-RetentionPolicyTag ModeratedRecipients -AgeLimitForRetention 5.00:00:00





Friday, February 21, 2020

Hướng dẫn active Windows 2016

Hướng dẫn active Windows 2016, How to Upgrade Windows Server 2016 Evaluation to Full
Hướng dẫn active Windows 2016, How to Upgrade Windows Server 2016 Evaluation to Full Version


Nếu bạn ban chạy bản Standard Evaluation thì bạn chỉ cần chạy lệnh sau để chuyển từ Evaluation qua Full và Active key luôn


dism /online /set-edition:ServerStandard /productkey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /accepteula

Thursday, December 26, 2019

This message wasn’t delivered to anyone because there are too many recipients


When attempting to send an email to a large amount of recipients, you may see the following error;

 This message wasn’t delivered to anyone because there are too many recipients, the limit is {number}. This message has {number} recipients

To check what the limit is set to launch the Exchange Management Shell, and ecxecute the following command;

Get-TransportConfig
  
To raise the limit (in this example to 2000) use the following command;

Set-TransportConfig -MaxRecipientEnvelopeLimit 2000