VMWare Powershell Modul
This commit is contained in:
15
config.ps1
15
config.ps1
@@ -246,6 +246,21 @@ function InstallSoftware {
|
||||
Write-Host "Fehler beim installieren des Powershell update Modul." -ForegroundColor Red
|
||||
}
|
||||
}
|
||||
# Powershell Modul für VMWare
|
||||
if (Get-Module -ListAvailable -Name VMware.PowerCLI) {
|
||||
Write-Hoste "VMWare Powershell Modul ist bereits installiert." -ForegroundColor Blue
|
||||
}
|
||||
else {
|
||||
|
||||
Write-Host "Beginne mit der Insallation des VMWare Modul..." -ForegroundColor Blue
|
||||
Try {
|
||||
Install-Module -Name VMware.PowerCLI -Force
|
||||
Write-Host "VMWare Modul erfolgreich installiert..." -ForegroundColor Green
|
||||
}
|
||||
Catch {
|
||||
Write-Host "Fehler beim installieren des VMWare Modul." -ForegroundColor Red
|
||||
}
|
||||
}
|
||||
Read-Host "Bitte das Terminal / Powershell neu starten damit die Aenderungen uebernommen werden."
|
||||
# Windows Explorer Einrichten
|
||||
New-Item -Path "HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" -Value "" -Force
|
||||
|
||||
Reference in New Issue
Block a user