Paketieren
Install- und Uninstall-Kommandos für Intune sauber strukturieren.
powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -File .\Deploy-Application.ps1 -DeploymentType Install -DeployMode Silentpowershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -File .\Deploy-Application.ps1 -DeploymentType Uninstall -DeployMode Silent# AppDeployToolkit - Install section
Execute-Process -Path setup.exe -Parameters "/quiet /norestart" -WindowStyle Hidden
# AppDeployToolkit - Uninstall section
Execute-Process -Path uninstall.exe -Parameters "/quiet /norestart" -WindowStyle Hidden