Beautifull

This commit is contained in:
2022-12-31 15:07:32 +01:00
parent 0907a27f2f
commit a6c8c2373f
2 changed files with 3 additions and 3 deletions

View File

@@ -3,12 +3,12 @@ function Update {
Write-Host "Beginne mit dem Update aller Pakete..."
# Winget upgrades ausführen
winget upgrade --all
# ooshutup10 ausführen. Manchmal werden settings nach Windos updates zurückgesetzt
./OOSU10.exe $HOME/.winconfig/ooshutup10/ooshutup10.cfg /quiet
remove-item ~\Desktop* -include *.lnk
if (Get-Module -ListAvailable -Name PSWindowsUpdate) {
Write-Host "Installiere Windows Updates..."
Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot
# ooshutup10 ausführen. Manchmal werden settings nach Windos updates zurückgesetzt
./OOSU10.exe $HOME/.winconfig/ooshutup10/ooshutup10.cfg /quiet
Write-Host "Update aller Powershell Module..."
Write-Host -ForegroundColor Cyan 'Get all PowerShell modules'
function Remove-OldPowerShellModules {