win-scripts/update_system.ps1

38 lines
947 B
PowerShell
Raw Normal View History

2021-07-30 14:29:03 +02:00
Write-Host ""
2021-11-02 11:50:09 +01:00
Write-Host ""
Write-Host -ForegroundColor Green "Updating chocolatey packages"
Write-Host ""
sudo choco upgrade all -y
Write-Host ""
Write-Host ""
2021-07-30 14:29:03 +02:00
Write-Host -ForegroundColor Green "Updating scoop packages"
Write-Host ""
scoop update *
2022-09-11 17:22:45 +02:00
# Write-Host ""
# Write-Host ""
# Write-Host -ForegroundColor Green "Updating npm packages"
# Write-Host ""
# npm update -g
2021-11-02 11:50:09 +01:00
Write-Host ""
Write-Host ""
Write-Host -ForegroundColor Green "Updating python pip"
Write-Host ""
2022-02-26 10:33:50 +01:00
python -m pip install --upgrade pip
2021-07-30 14:29:03 +02:00
Write-Host ""
Write-Host ""
Write-Host -ForegroundColor Green "Updating python packages"
Write-Host ""
pip freeze | ForEach-Object{$_.split('==')[0]} | ForEach-Object{pip install --upgrade $_}
2022-02-26 10:33:50 +01:00
python -m pip install git+https://www.github.com/justfoolingaround/animdl
2021-07-30 14:29:03 +02:00
Write-Host ""
Write-Host ""
write-host -ForegroundColor Green "Check for windows updates"
Write-Host ""
2021-11-02 11:50:09 +01:00
C:\Windows\System32\control.exe /name Microsoft.WindowsUpdate