Ne Menge hinzugefügt.
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
#Updatet all the things
|
||||
function Update {
|
||||
function allupdates {
|
||||
Write-Host "Beginne mit dem Update aller Pakete..." -ForegroundColor Blue
|
||||
# Winget upgrades ausführen
|
||||
winget upgrade --all
|
||||
remove-item ~\Desktop* -include *.lnk
|
||||
Remove-Item C:\Users\Public\Desktop\*.lnk
|
||||
if (Get-Module -ListAvailable -Name PSWindowsUpdate) {
|
||||
Write-Host "Installiere Windows Updates..." -ForegroundColor Blue
|
||||
Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot
|
||||
# ooshutup10 ausführen. Manchmal werden settings nach Windos updates zurückgesetzt
|
||||
Write-Host "Spiele aktuelle OOSHUTUP10 config ein... " -ForegroundColor Blue
|
||||
Set-Location ~/.winconfig ; ./OOSU10.exe configs/ooshutup10/ooshutup10.cfg /quiet
|
||||
Write-Host "Ziehe aktuelle winconfig von git..." -ForegroundColor Blue
|
||||
git -C ~\.winconfig pull
|
||||
Write-Host "Update aller Powershell Module..." -ForegroundColor Blue
|
||||
Write-Host -ForegroundColor Blue 'Get all PowerShell modules'
|
||||
function Remove-OldPowerShellModules {
|
||||
|
||||
Reference in New Issue
Block a user