How to Find a Windows Activation Key Using PowerShell

preview_player
Показать описание
how to find windows product key using powershell
Steps
1-Open PowerShell as an administrator. You can do this by pressing the Windows key and the S key at the same time to open the search function. Then, type "PowerShell" and right-click the app from the list of results and click Run as Administrator.
2-Enter the following code in powershell
(Get-WmiObject -query 'select * from softwareLicensingService').
OA3xOriginalProductKey
press Enter.
This code will search your computer for the Microsoft OS license key.
3-Note your product key. You should see the product key appear directly below the command that you entered; this is your product key.
#windows #windows10 #windows7 #windows11 #productkey #cmd #commandprompt #powershel l#PowerShell #powershell #powershellise #powershellbasics #powershellscripts #powershellscript #powershelltraining #powershellscripting #powershellcommandos #powershellautomation #windowsactivationkey #howtofind
Рекомендации по теме