POWERSHELL Version 1.0.0
PC Uptime Checker
Check how long your Windows computer has been running and when it was last started. No installation required.
Source code
SHA-256:577d0f9982b1a3afacc17d6556f17e9490dd03a56d2000df247f7393fc52b3ee# PC Uptime Checker - ScriptSnatch.com
$os = Get-CimInstance Win32_OperatingSystem
$uptime = (Get-Date) - $os.LastBootUpTime
Write-Host ""
Write-Host "PC UPTIME CHECKER" -ForegroundColor Cyan
Write-Host "-------------------------"
Write-Host "Computer : $env:COMPUTERNAME"
Write-Host "Last boot: $($os.LastBootUpTime)"
Write-Host "Uptime : $($uptime.Days) days, $($uptime.Hours) hours, $($uptime.Minutes) minutes"
Write-Host ""Community reviews
No published reviews yet.
Leave a review
Reviews are moderated. Your email is not displayed publicly.