WeSearch

I wrote a PowerShell script to guess my PC's resale value (and learned my depreciation math was wrong)

·4 min read · 0 reactions · 0 comments · 12 views
#technology#programming#hardware
I wrote a PowerShell script to guess my PC's resale value (and learned my depreciation math was wrong)
⚡ TL;DR · AI summary

A tech enthusiast created a PowerShell script to estimate the resale value of his old laptop. Initially, his linear depreciation model overestimated the value, prompting him to switch to a multiplicative decay model. The revised model provided a more accurate estimate that aligned with actual eBay sales data.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3847611) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Jude Hilgendorf Posted on May 16 I wrote a PowerShell script to guess my PC's resale value (and learned my depreciation math was wrong) #powershell #windows #sysadmin #scripting Tried selling my old laptop last month. eBay sold listings were all over the place. Same model, same year, prices ranging from $180 to $420. Some had keyboards with missing keys, some were "great condition, no charger." Useless for getting a real number. So I built a script.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)