วิธีลบ Product Key Microsoft Office 2019 ด้วย PowerShell หาก Microsoft Office 2019 ที่มีคีย์ถูกต้องถูกโคลนผ่าน Image แล้วเปิดใช้งานไม่ได้ วิธีแก้คือการลบรหัสคีย์ (Product Key) เดิมที่ค้างอยู่ในเครื่องออกก่อน แล้วเปิด Microsoft Word เพื่อ Activate ใหม่ หากต้องการใช้ PowerShell ในการลบรหัสคีย์ (Product Key) ของ Office ออกจากเครื่อง สามารถใช้คำสั่งผ่าน WMI / CIM หรือเรียกใช้สคริปต์ ospp.vbs ผ่าน PowerShell ได้เลยครับ ขั้นตอนการลบคีย์ Office ด้วย PowerShell 1. เปิด PowerShell ในฐานะ Administrator กดปุ่ม Windows + X แล้วเลือก Terminal (Admin) หรือ Windows PowerShell (Admin) Verification: หน้าต่าง PowerShell จะขึ้นหัวข้อว่า Administrator: Windows PowerShell 2. ตรวจสอบรหัสคีย์ 5 หลักสุดท้ายที่ค้างอยู่ วางคำสั่งนี้ลงใน PowerShell แล้วกด Enter เพื่อดูรายการคีย์ที่ติดตั้งไว้: Get-CimInstance SoftwareLicensingProduct | Where-Object { $_.Name -like "*Office*" -and $_.PartialProductKey } | Select-Object Name, PartialProductKey Verification: จะปรากฏ...