Last active
January 10, 2025 23:33
-
-
Save ZSendokame/91c110ed2b4fc0bfebf57b1a4d5a4795 to your computer and use it in GitHub Desktop.
Neofetch-like, based on zJairo's wfetch but native. (7.3.1 or up)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $uptime = Get-Uptime | |
| $os = Get-CimInstance -ClassName CIM_OperatingSystem | |
| $version = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" | |
| Write-Host "###### ####### " -ForegroundColor Cyan -NoNewLine | |
| Write-Host "$env:username@$env:computername" | |
| Write-Host "###### ####### " -ForegroundColor Cyan -NoNewLine | |
| Write-Host "Architecture $($operativeSystem.OSArchitecture)" | |
| Write-Host "###### ####### " -ForegroundColor Cyan -NoNewLine | |
| Write-Host "$($uptime.Days)d, $($uptime.Hours)h, $($uptime.Minutes)m" | |
| Write-Host " PowerShell $($PSVersionTable.PSVersion)" | |
| Write-Host "###### ####### " -ForegroundColor Cyan | |
| Write-Host "###### #######" -ForegroundColor Cyan | |
| Write-Host "###### #######" -ForegroundColor Cyan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment