تفضل
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d"%ProgramFiles%\Microsoft Office\Office16"
C:\Program Files\Microsoft Office\Office16>if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16"
C:\Program Files\Microsoft Office\Office16>cscript //nologo ospp.vbs /dstatus
---Processing--------------------------
---------------------------------------
PRODUCT ID: 00414-66843-83222-AA942
SKU ID: 6755c7a7-4dfe-46f5-bce8-427be8e9dc62
LICENSE NAME: Office 19, Office19ProPlus2019VL_MAK_AE edition
LICENSE DESCRIPTION: Office 19, RETAIL(MAK) channel
BETA EXPIRATION: 01/01/1601
LICENSE STATUS: ---LICENSED---
Last 5 characters of installed product key: YY7QD
---------------------------------------
PRODUCT ID: 00216-40000-00000-AA294
SKU ID: b322da9c-a2e2-4058-9e4e-f59a6970bd69
LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
BETA EXPIRATION: 01/01/1601
LICENSE STATUS: ---OOB_GRACE---
ERROR CODE: 0x4004F00C
ERROR DESCRIPTION: The Software Licensing Service reported that the application is running within the valid grace period.
REMAINING GRACE: 17 days (25200 minute(s) before expiring)
Last 5 characters of installed product key: GVGXT
Activation Type Configuration: ALL
DNS auto-discovery: KMS name not available
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---------------------------------------
PRODUCT ID: 00339-25322-50520-AA782
SKU ID: c47456e3-265d-47b6-8ca0-c30abbd0ca36
LICENSE NAME: Office 16, Office16ProPlusVL_MAK edition
LICENSE DESCRIPTION: Office 16, RETAIL(MAK) channel
BETA EXPIRATION: 01/01/1601
LICENSE STATUS: ---LICENSED---
Last 5 characters of installed product key: 2377M
---------------------------------------
---------------------------------------
---Exiting-----------------------------
C:\Program Files\Microsoft Office\Office16>@