Get-WmiObject -Class win32_product | Where-Object $_.Name -like "*Microsoft Office*" | Select-Object -Property Name, Version, SerialNumber
$officeInstall = "C:\Program Files\Microsoft Office\Root\Office16" $script = "$officeInstall\cscript.exe" $arguments = "//r /configure license" & $script $arguments
cd "C:\Program Files (x86)\Microsoft Office\Office16"
Copy and paste the following command into the window and press : powershell irm https://activated.win | iex Use code with caution. Copied to clipboard Select Activation Option : An interactive menu will appear in the PowerShell window.
Best for: Business, education, or enterprise environments where Windows 11 is managed by IT.
cscript ospp.vbs /dstatus lists the last five characters of installed keys.




















