Terminal-Icons hinzugefügt

This commit is contained in:
2023-07-18 12:00:29 +02:00
parent 64ec10f8c4
commit b275fb5bdc
2 changed files with 21 additions and 2 deletions

View File

@@ -235,13 +235,28 @@ function InstallSoftware {
Write-Host "Beginne mit der Insallation des Powershell Update Modul..." -ForegroundColor Blue
Try {
Install-Module Install-Module PSReadLine -Force
Install-Module PSReadLine -Force
Write-Host "Powershell update Modul erfolgreich installiert..." -ForegroundColor Green
}
Catch {
Write-Host "Fehler beim installieren des Powershell update Modul." -ForegroundColor Red
}
}
}
# Powershell Modul für Terminal Icons
if (Get-Module -ListAvailable -Name Terminal-Icons ) {
Write-Hoste "Terminal-Icons Powershell Modul ist bereits installiert." -ForegroundColor Blue
}
else {
Write-Host "Beginne mit der Insallation des Terminal-Icons Modul..." -ForegroundColor Blue
Try {
Install-Module Terminal-Icons -Force
Write-Host "Terminal-Icons Modul erfolgreich installiert..." -ForegroundColor Green
}
Catch {
Write-Host "Fehler beim installieren des Terminal-Icons Modul." -ForegroundColor Red
}
}
# Powershell Modul für Updates
if (Get-Module -ListAvailable -Name PSWindowsUpdate) {
Write-Hoste "Windows Update Powershell Modul ist bereits installiert." -ForegroundColor Blue