Neue Aliase, neue Software etc.
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
#Updatet all the things
|
||||
function Update {
|
||||
Write-Host "Beginne mit dem Update aller Pakete..."
|
||||
Write-Host "Beginne mit dem Update aller Pakete..." -ForegroundColor Blue
|
||||
# Winget upgrades ausführen
|
||||
winget upgrade --all
|
||||
remove-item ~\Desktop* -include *.lnk
|
||||
if (Get-Module -ListAvailable -Name PSWindowsUpdate) {
|
||||
Write-Host "Installiere Windows Updates..."
|
||||
Write-Host "Installiere Windows Updates..." -ForegroundColor Blue
|
||||
Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot
|
||||
# ooshutup10 ausführen. Manchmal werden settings nach Windos updates zurückgesetzt
|
||||
~/.winconfig/OOSU10.exe $HOME/.winconfig/ooshutup10/ooshutup10.cfg /quiet
|
||||
Write-Host "Update aller Powershell Module..."
|
||||
Write-Host -ForegroundColor Cyan 'Get all PowerShell modules'
|
||||
Write-Host "Spiele aktuelle OOSHUTUP10 config ein... " -ForegroundColor Blue
|
||||
Set-Location ~/.winconfig ; ./OOSU10.exe configs/ooshutup10/ooshutup10.cfg /quiet
|
||||
Write-Host "Update aller Powershell Module..." -ForegroundColor Blue
|
||||
Write-Host -ForegroundColor Blue 'Get all PowerShell modules'
|
||||
function Remove-OldPowerShellModules {
|
||||
param (
|
||||
[string]$ModuleName,
|
||||
|
||||
Reference in New Issue
Block a user