Avatar of Joe Pelish
Joe Pelish
Flag for United States of America asked on

Finding Office activation status on multiple workstations

I am using this command on several computers

get-ciminstance -class SoftwareLicensingProduct -ComputerName $Computer -Filter "Description like '%office%'"

All have Office installed. Some are activated some are not. Thanks to O365 I had to upgrade everyone in the company and at some point, my VL ran out and some did not get activated.

Anyway, some computers come back with the desired information others do not return anything. I then tried on the ones that returned nothing to get all licenses and yes it returns the Windows license status correctly. Why can't I get the Office license from these computers? And yes I did a sanity check one and it does have Office installed.

Any help would be greatly appreciated.



Thanks in advance,

Joe Pelish
PowershellMicrosoft OfficeWindows OS

Avatar of undefined
Last Comment
Joe Pelish

8/22/2022 - Mon
Sudeep Sharma

I then tried on the ones that returned nothing to get all licenses and yes it returns the Windows license status correctly.

What do you get when you the PowerShell command mentioned in your question?
Are you doing it remotely?
If remotely which version of PowerShell are you using? What OS is running on the system which are not reporting anything?

Thanks,
Sudeep
ASKER CERTIFIED SOLUTION
Abhilash Pappiyil

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Joe Pelish

ASKER
Thanks for letting me know about this. I will look at using it!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes