We have an upcoming Microsoft audit coming, and I’m trying to get ready for that by getting the serial numbers for all Windows devices in the company.
I noticed that
(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKeywill give me the activation key for Windows 7, but not for Windows server editions. Ayy ideas?
Also, we have a couple of Windows XP in the company. It seems like they won’t even run PowerShell.