This commit is contained in:
CronyAkatsuki 2021-11-02 11:50:09 +01:00
parent a00a464918
commit 63fa2ccb0e
11 changed files with 47 additions and 7 deletions

View File

@ -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\INetCookies\*" -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 -ForegroundColor Green "Checking Component store size"

18
powerfetch.ps1 Normal file
View 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)"

View File

@ -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
View 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
View 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

View File

@ -1,2 +1,2 @@
@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
View 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

View File

@ -1,2 +1,2 @@
@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

View 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

View 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

View File

@ -1,13 +1,26 @@
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 ""
scoop update *
Write-Host ""
Write-Host ""
Write-Host -ForegroundColor Green "Updating chocolatey packages"
Write-Host -ForegroundColor Green "Updating npm packages"
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 ""
@ -19,4 +32,4 @@ Write-Host ""
Write-Host ""
write-host -ForegroundColor Green "Check for windows updates"
Write-Host ""
C:\Windows\System32\control.exe /name Microsoft.WindowsUpdate
C:\Windows\System32\control.exe /name Microsoft.WindowsUpdate