Pages

Monday, January 30, 2023

How to hide/unhide/delete all named ranges in Excel?

A. Xoa NamesRange

1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following code in the Module Window.

Sub ShowNames()
'Update 20140318
Dim xName As Name
For Each xName In Application.ActiveWorkbook.Names
    xName.Visible = True
Next
End Sub

//

Monday, January 2, 2023

Ký hiệu cổng USB Type-C

Ký hiệu cổng USB Type-C





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