WaldoIT wrote:
CyberCitizen wrote:
I ended up creating a deployment package that saves the results to a shared network drive with the hostname as the filename.
If you're still around and see this, can you enlighten others as to what you did? Is it something shareable, at least the basic instructions of how you got from idea to implementation?
Sorry I missed the reply about this one.
The script below was what I ran.
cmd /c cscript "C:\Program Files (x86)\Microsoft Office\Office16\ospp.vbs" /dstatus > C:\Temp\LicenseStatus.txt
Note you could save this to a network share with the computer name by changing the filename to %COMPUTERNAME%, but I save it locally and then just check the C$ share.