Pages

Thursday, December 1, 2022

How to Set the Timezone and Configure NTP on Windows Server

How to Set the Timezone and Configure NTP on Windows Server


Network Time Protocol (NTP) is a highly scalable internet protocol that determines the best time information and synchronizes accurate settings on a computer system. This guide explains how to set the time zone and configure NTP on a Windows Server.

This guide uses Windows Server 2019, but these instructions work on any machine with Server 2016 or later.

Prerequisites

Before you begin:

Set the Timezone

Monday, October 24, 2022

Exchange updates step-by-step guide

Exchange updates step-by-step guide
https://setup.microsoft.com/wizard/exchangeupdatesguide

Tuesday, October 11, 2022

Kiểm tra các mailbox forwarded.

Get-mailbox -ResultSize unlimited
# Get all mailboxes Get-mailbox -ResultSize unlimited | Select Name,ForwardingAddress
# Get all mailboxes and ForwardingAddress Get-mailbox -ResultSize unlimited | select Name,ForwardingAddress | where {$_.ForwardingAddress -ne $Null}
# Get mailboxes with maiboxes forwarded

Kiểm tra các email gửi bị lỗi.

Start - Microsoft Exchange Server 2016 - Exchange Management Shell, type :
+ Get-TransportService
# Check service status + Get-TransportService | Get-MessageTrackingLog -Sender abc@dot.vn -MessageSubject "Test" # Check logs sent from HiepIT with subject Test + Get-TransportService | Get-MessageTrackingLog -Sender user@domain.vn -MessageSubject "Test" | Sort-Object Timestamp | ft -AutoSize # Sort time and fit column

Search và xóa email trong Exchange online & On-premise

Cần xóa các email có nội dùng và gửi tới user:

'subject:"Reminder task work 02-12-2020" 
to:"test4@domainabc.vn"'


New-ComplianceSearch `
-Name TestSearch `
-ExchangeLocation All `
-ContentMatchQuery 'subject:"Reminder task work 02-12-2020'

Friday, October 7, 2022

CÁCH THIẾT LẬP VÀ KẾT NỐI POWERSHELL VỚI MICROSOFT 365

Window PowerShell là ứng dụng có sẵn trên các hệ điều hành Windows. Để sử dụng PowerShell kết nối với tài khoản Microsoft 365 ta làm các bước như sau:

Mở PowerShell

Start / Window PowerShell . Lưu ý bạn phải mở ứng dụng này bằng quyền administrator (chuột phải và chọn Run as administrator )

Tuesday, September 20, 2022

Xóa file log trong vcenter

Xóa file log trong vcenter

// Xem thông tin các ổ đĩa
df -h

// Chuyển tới thư mục cần xóa
cd /storage/log ; cd vmware/

//Xem các file log trong thư mục
 /storage/log/vmware ]# ls

//Xem dung lượng thư mục
 du -sh * | grep G

//Chuyển tới thư mục cần xóa
cd sso

//Xóa các file có tên
rm -rf localhost_access*
rm -rf catalina*

//Kiểm tra lại
root@vcenter [ /storage/log/vmware/sso ]# df -h

Thursday, August 18, 2022

vcruntime140_1.dll was not found

vcruntime140_1.dll was not found

https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

Tuesday, August 16, 2022

Xóa offline Address book

Xóa offline Address book

AppData\Local\Microsoft\Outlook\Offline Address Books

Delete the OAB files

Another way to make sure that you get a fresh copy of the OAB is by renaming the oab-files to .old when Outlook is closed.

They are stored in the following location:

  • Windows XP
    C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook\
  • Windows Vista, Windows 7, Windows 8 and Windows 10
    C:\Users\%username%\AppData\Local\Microsoft\Outlook

You can paste the path mentioned above in the Address Bar of Explorer to quickly open the location.
You can paste the path mentioned above in the Address Bar of Explorer to quickly open the location.

Monday, July 18, 2022

SỬ DỤNG ỨNG DỤNG CÓ SẴN XBOX ĐỂ QUAY MÀN HÌNH TRỰC TIẾP

Xbox Game Bar là ứng dụng có sẵn, đi kèm miễn phí với phiên bản mới của Window 10. Vốn dĩ, phần mềm này được ra đời để giúp người chơi theo dõi hiệu suất máy tính của họ. Tuy nhiên, bạn vẫn có thể tận dụng tính năng của ứng dụng này để ghi lại màn hình máy tính của mình, ngay cả khi không chơi game.