Google.GoogleDrive
This commit is contained in:
1 parent
94c6b2bb21
commit
0f66a90d1b
2 files changed
+8
-2
No files matched your search
+2
-2
@@ -2,8 +2,8 @@ $apps = @(
|
|||||||
"Microsoft.DotNet.DesktopRuntime.8",
|
"Microsoft.DotNet.DesktopRuntime.8",
|
||||||
"Google.Chrome",
|
"Google.Chrome",
|
||||||
"Mozilla.Firefox",
|
"Mozilla.Firefox",
|
||||||
"Google.Drive",
|
"Google.GoogleDrive",
|
||||||
"Google.ChromeRemoteDesktopHost"
|
"Google.ChromeRemoteDesktopHost",
|
||||||
"Dell.CommandUpdate",
|
"Dell.CommandUpdate",
|
||||||
"Logitech.OptionsPlus",
|
"Logitech.OptionsPlus",
|
||||||
"Notepad++.Notepad++",
|
"Notepad++.Notepad++",
|
||||||
|
|||||||
@@ -351,6 +351,9 @@ function Install-MedewerkersApps {
|
|||||||
} elseif ($outputString -match "No upgrade available|No newer package versions") {
|
} elseif ($outputString -match "No upgrade available|No newer package versions") {
|
||||||
$msg = "OK $app is al geinstalleerd (geen actie nodig)"
|
$msg = "OK $app is al geinstalleerd (geen actie nodig)"
|
||||||
Write-ColorText $msg "Yellow"
|
Write-ColorText $msg "Yellow"
|
||||||
|
} elseif ($outputString -match "No package found|No applicable packages found") {
|
||||||
|
$msg = "FOUT: Package niet gevonden: $app (Controleer de package ID)"
|
||||||
|
Write-ColorText $msg "Red"
|
||||||
} else {
|
} else {
|
||||||
# Show error with exit code for debugging
|
# Show error with exit code for debugging
|
||||||
$msg = "FOUT bij installatie van $app (Exit code: $exitCode)"
|
$msg = "FOUT bij installatie van $app (Exit code: $exitCode)"
|
||||||
@@ -466,6 +469,9 @@ function Install-GastenApps {
|
|||||||
} elseif ($outputString -match "No upgrade available|No newer package versions") {
|
} elseif ($outputString -match "No upgrade available|No newer package versions") {
|
||||||
$msg = "OK $app is al geinstalleerd (geen actie nodig)"
|
$msg = "OK $app is al geinstalleerd (geen actie nodig)"
|
||||||
Write-ColorText $msg "Yellow"
|
Write-ColorText $msg "Yellow"
|
||||||
|
} elseif ($outputString -match "No package found|No applicable packages found") {
|
||||||
|
$msg = "FOUT: Package niet gevonden: $app (Controleer de package ID)"
|
||||||
|
Write-ColorText $msg "Red"
|
||||||
} else {
|
} else {
|
||||||
# Show error with exit code for debugging
|
# Show error with exit code for debugging
|
||||||
$msg = "FOUT bij installatie van $app (Exit code: $exitCode)"
|
$msg = "FOUT bij installatie van $app (Exit code: $exitCode)"
|
||||||
|
|||||||
Reference in new issue
Block a user