There are multiple discovery tools that can do this for you.... if you are looking for just HW usage (when was the last time a person logged into this system?) a cheap option that I have used is called Lansweeper (https://www.lansweeper.com/
) its cheap relatively speaking and will show you the last user or users to have logged into systemonce its been running for awhile... its not the best ITAM tool on the market but will accomplish what you are looking for.
Other tools include ServiceNow, Altiris, and Microsoft's SCCM. Good Luck!