diff --git a/clean_system.ps1 b/clean_system.ps1 index 7b238c6..5f45e9e 100644 --- a/clean_system.ps1 +++ b/clean_system.ps1 @@ -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" diff --git a/powerfetch.ps1 b/powerfetch.ps1 new file mode 100644 index 0000000..1a3155c --- /dev/null +++ b/powerfetch.ps1 @@ -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)" \ No newline at end of file diff --git a/ryzenadj/bro-falls.cmd b/ryzenadj/bro-falls.cmd deleted file mode 100644 index 1f8d41f..0000000 --- a/ryzenadj/bro-falls.cmd +++ /dev/null @@ -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 \ No newline at end of file diff --git a/ryzenadj/crab-game.cmd b/ryzenadj/crab-game.cmd new file mode 100644 index 0000000..3a8e42c --- /dev/null +++ b/ryzenadj/crab-game.cmd @@ -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 \ No newline at end of file diff --git a/ryzenadj/far-cry-3.cmd b/ryzenadj/far-cry-3.cmd new file mode 100644 index 0000000..67baf40 --- /dev/null +++ b/ryzenadj/far-cry-3.cmd @@ -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 \ No newline at end of file diff --git a/ryzenadj/genshin-impact.cmd b/ryzenadj/genshin-impact.cmd index 4970b36..ad4ce59 100644 --- a/ryzenadj/genshin-impact.cmd +++ b/ryzenadj/genshin-impact.cmd @@ -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 \ No newline at end of file +ryzenadj --slow-time=60 --vrmmax-current=55000 --tctl-temp=80 --stapm-limit=16000 --stapm-time=1000 --fast-limit=20000 --slow-limit=17000 --max-performance \ No newline at end of file diff --git a/ryzenadj/pcsx2.cmd b/ryzenadj/pcsx2.cmd new file mode 100644 index 0000000..70e54dd --- /dev/null +++ b/ryzenadj/pcsx2.cmd @@ -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 \ No newline at end of file diff --git a/ryzenadj/retro-arch.cmd b/ryzenadj/retro-arch.cmd index 104fa82..33598db 100644 --- a/ryzenadj/retro-arch.cmd +++ b/ryzenadj/retro-arch.cmd @@ -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 \ No newline at end of file +ryzenadj --slow-time=30 --vrmmax-current=50000 --tctl-temp=80 --stapm-limit=17000 --stapm-time=300 --fast-limit=20000 --slow-limit=18000 --max-performance \ No newline at end of file diff --git a/ryzenadj/rpcs3-dragkengard-3.cmd b/ryzenadj/rpcs3-dragkengard-3.cmd new file mode 100644 index 0000000..e984113 --- /dev/null +++ b/ryzenadj/rpcs3-dragkengard-3.cmd @@ -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 \ No newline at end of file diff --git a/ryzenadj/shadow-warrior.cmd b/ryzenadj/shadow-warrior.cmd new file mode 100644 index 0000000..bbdea02 --- /dev/null +++ b/ryzenadj/shadow-warrior.cmd @@ -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 \ No newline at end of file diff --git a/update_system.ps1 b/update_system.ps1 index 83d3912..3b1af34 100644 --- a/update_system.ps1 +++ b/update_system.ps1 @@ -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 \ No newline at end of file +C:\Windows\System32\control.exe /name Microsoft.WindowsUpdate