Pages

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



Saturday, December 7, 2019

Search-Mailbox

Cần tìm tất các email kuteo gửi ra từ ngày đến ngày, gửi đến ai, cc và bcc. Kết quả search lưu vào họp thư của Daica và folder được tạo là Search_Kuteo


Search-Mailbox Kuteo -SearchDumpster -SearchQuery "(Received:1/18/2012..12/28/2019) AND (To:abc@domain.com OR From:xyx@domain1.com OR CC:tmx@abc.com OR BCC:abc@tmc.com)" -targetmailbox Daica -loglevel full -targetfolder "Search_Kuteo"

Monday, December 2, 2019

Cầu phân áp, chia áp và phần mềm tính toán

Cầu phân áp, chia áp và phần mềm tính toán

   Trong quá trình sửa chữa mạch điện tử ta hay bắt gặp những cầu điện trở phân áp , nhất là trong những mạch hồi tiếp ổn định điện áp ra hoặc những khối nguồn có thể tăng giảm áp trong quá trình làm việc của laptop nói riêng.

Wednesday, September 11, 2019

Convert GUID to User Name

Convert GUID to User Name

In Exchange 2010 event logs referring to user mailboxes tend to be in the format of GUID, this makes it a little difficult in troubleshooting and identifying a problematic mailbox. In exchange it is very simple to translate the GUID to display name in powershell.

Copy the GUID in the event ID and  copy into powershell:

get-mailboxstatistics -Identity | fl


You can just as easily use:
get-mailbox -Identity | fl

However the output list is very extensive and it will take some time to locate displayname.

There are a number of articles on how to convert the GUID via script to retrieve the display name, but the line above does the job extremely quickly especially if you use copy and paste with the GUID.

Connect EXO shell dùng Windows PowerShell

Connect EXO shell dùng Windows PowerShell

# Set-ExecutionPolicy RemoteSigned
# $cred = Get-Credential
# $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection
# Import-PSSession $Session
# Connect-MsolService