Update
This commit is contained in:
parent
a00a464918
commit
63fa2ccb0e
@ -45,6 +45,7 @@ Write-Host ""
|
|||||||
Remove-Item -Path "C:\Users\*\AppData\Local\Microsoft\Windows\INetCache\*" -Force -Recurse
|
Remove-Item -Path "C:\Users\*\AppData\Local\Microsoft\Windows\INetCache\*" -Force -Recurse
|
||||||
Remove-Item -Path "C:\Users\*\AppData\Local\Microsoft\Windows\INetCookies\*" -Force -Recurse
|
Remove-Item -Path "C:\Users\*\AppData\Local\Microsoft\Windows\INetCookies\*" -Force -Recurse
|
||||||
Remove-Item -Path "C:\Users\*\AppData\Local\Microsoft\Terminal Server Client\Cache\*" -Force -Recurse
|
Remove-Item -Path "C:\Users\*\AppData\Local\Microsoft\Terminal Server Client\Cache\*" -Force -Recurse
|
||||||
|
sudo Remove-Item -Path "C:\Temp\*" -Force -Recurse
|
||||||
|
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host -ForegroundColor Green "Checking Component store size"
|
Write-Host -ForegroundColor Green "Checking Component store size"
|
||||||
|
18
powerfetch.ps1
Normal file
18
powerfetch.ps1
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
$wmiOS = Get-CimInstance -Class Win32_OperatingSystem
|
||||||
|
$wmiCS = Get-CimInstance -ClassName Win32_ComputerSystem
|
||||||
|
$uptime = Get-Uptime
|
||||||
|
$os = $wmiOS.Caption
|
||||||
|
$model = $wmiCS.Model
|
||||||
|
$build = $wmiOS.BuildNumber
|
||||||
|
$uptimeHours = $uptime.Hours
|
||||||
|
$uptimeMinutes = $uptime.Minutes
|
||||||
|
$chocoPackages = choco list -l | Measure-Object -Line
|
||||||
|
$scoopPackages = scoop.cmd list | Measure-Object -Line
|
||||||
|
$packages = $($chocoPackages.Lines - 1) + $($scoopPackages.Lines - 3)
|
||||||
|
|
||||||
|
Write-Host -ForegroundColor Yellow "$env:username@$env:computername"
|
||||||
|
Write-Host -ForegroundColor Red "os " -NoNewline; Write-Host -ForegroundColor DarkCyan "$os"
|
||||||
|
Write-Host -ForegroundColor Red "host " -NoNewline; Write-Host -ForegroundColor DarkCyan "$model"
|
||||||
|
Write-Host -ForegroundColor Red "build " -NoNewline; Write-Host -ForegroundColor DarkCyan "$build"
|
||||||
|
Write-Host -ForegroundColor Red "uptime " -NoNewline; Write-Host -ForegroundColor DarkCyan $uptimeHours"h "$uptimeMinutes"m"
|
||||||
|
Write-Host -ForegroundColor Red "pkgs " -NoNewline; Write-Host -ForegroundColor DarkCyan "$packages (choco + scoop)"
|
@ -1,2 +0,0 @@
|
|||||||
@echo off
|
|
||||||
ryzenadj --slow-time=30 --vrmmax-current=70000 --tctl-temp=90 --stapm-limit=20000 --stapm-time=300 --fast-limit=23000 --slow-limit=21000 --max-performance
|
|
2
ryzenadj/crab-game.cmd
Normal file
2
ryzenadj/crab-game.cmd
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
ryzenadj --slow-time=30 --vrmmax-current=35000 --tctl-temp=70 --stapm-limit=10000 --stapm-time=300 --fast-limit=12000 --slow-limit=11000 --max-performance
|
2
ryzenadj/far-cry-3.cmd
Normal file
2
ryzenadj/far-cry-3.cmd
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
ryzenadj --slow-time=60 --vrmmax-current=50000 --tctl-temp=85 --stapm-limit=14000 --stapm-time=1000 --fast-limit=17000 --slow-limit=15000 --max-performance
|
@ -1,2 +1,2 @@
|
|||||||
@echo off
|
@echo off
|
||||||
ryzenadj --slow-time=60 --vrmmax-current=45000 --tctl-temp=75 --stapm-limit=12000 --stapm-time=1000 --fast-limit=15000 --slow-limit=13000 --max-performance
|
ryzenadj --slow-time=60 --vrmmax-current=55000 --tctl-temp=80 --stapm-limit=16000 --stapm-time=1000 --fast-limit=20000 --slow-limit=17000 --max-performance
|
2
ryzenadj/pcsx2.cmd
Normal file
2
ryzenadj/pcsx2.cmd
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
ryzenadj --slow-time=60 --vrmmax-current=70000 --tctl-temp=85 --stapm-limit=16000 --stapm-time=1000 --fast-limit=25000 --slow-limit=20000 --max-performance
|
@ -1,2 +1,2 @@
|
|||||||
@echo off
|
@echo off
|
||||||
ryzenadj --slow-time=30 --vrmmax-current=30000 --tctl-temp=60 --stapm-limit=10000 --stapm-time=300 --fast-limit=12000 --slow-limit=11000 --max-performance
|
ryzenadj --slow-time=30 --vrmmax-current=50000 --tctl-temp=80 --stapm-limit=17000 --stapm-time=300 --fast-limit=20000 --slow-limit=18000 --max-performance
|
2
ryzenadj/rpcs3-dragkengard-3.cmd
Normal file
2
ryzenadj/rpcs3-dragkengard-3.cmd
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
ryzenadj --slow-time=60 --vrmmax-current=70000 --tctl-temp=95 --stapm-limit=25000 --stapm-time=1000 --fast-limit=35000 --slow-limit=30000 --max-performance
|
2
ryzenadj/shadow-warrior.cmd
Normal file
2
ryzenadj/shadow-warrior.cmd
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
ryzenadj --slow-time=60 --vrmmax-current=40000 --tctl-temp=85 --stapm-limit=10000 --stapm-time=1000 --fast-limit=13000 --slow-limit=11000 --max-performance
|
@ -1,13 +1,26 @@
|
|||||||
Write-Host ""
|
Write-Host ""
|
||||||
|
Write-Host ""
|
||||||
|
Write-Host -ForegroundColor Green "Updating chocolatey packages"
|
||||||
|
Write-Host ""
|
||||||
|
sudo choco upgrade all -y
|
||||||
|
|
||||||
|
Write-Host ""
|
||||||
|
Write-Host ""
|
||||||
Write-Host -ForegroundColor Green "Updating scoop packages"
|
Write-Host -ForegroundColor Green "Updating scoop packages"
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
scoop update *
|
scoop update *
|
||||||
|
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host -ForegroundColor Green "Updating chocolatey packages"
|
Write-Host -ForegroundColor Green "Updating npm packages"
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
sudo choco upgrade all -y
|
npm update -g
|
||||||
|
|
||||||
|
Write-Host ""
|
||||||
|
Write-Host ""
|
||||||
|
Write-Host -ForegroundColor Green "Updating python pip"
|
||||||
|
Write-Host ""
|
||||||
|
C:\users\ivica\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip
|
||||||
|
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
|
Loading…
Reference in New Issue
Block a user