Pages

Friday, May 15, 2026

Xóa email trên Exchange Online


1. https://purview.microsoft.com/ tạo content search, để kiểm tra


2. Kết nối bằng PowerShell để thực hiện Purge

Các lệnh thường dùng
Connect-IPPSSession -EnableSearchOnlySession
Get-ComplianceSearch -Identity "XOAMAIL"
New-ComplianceSearchAction -SearchName "XOAMAIL" -Purge -PurgeType HardDelete
Get-ComplianceSearchAction | Where-Object {$_.SearchName -eq "XOAMAIL"}

Saturday, January 3, 2026

Tổng hợp các câu lệnh tối ưu ổ đĩa C

1. Dọn rác
Chạy bằng cmd quyền Administrator

cleanmgr
powercfg -h off
dism /online /cleanup-image /StartComponentCleanup
compact /CompactOS:always
del /s /q C:\Windows\Temp\*
del /s /q %temp%\*

2.Xóa profile không dùng, vào Run / SystemPropertiesAdvanced  /User Profiles / Settting