Office 365 License Managment via Command Line
Command Location:
C:\Program Files\Microsoft Office\Office16
or
C:\Program Files (x86)\Microsoft Office\Office16
Status:
cscript ospp.vbs /dstatus
Note: The list 5 Characters are listed in the last line of entries for the License information. (It is not the last 5 characters of the Product key line - go figure)
Remove key:
cscript ospp.vbs /unpkey:<last five characters of product key>
Additionally:
cscript ospp.vbs /inpkey:value (Using the product line)
Reboot computer.