2021-05-21 14:49:22 +02:00
|
|
|
|
# Liesmich für die setup.ps1
|
|
|
|
|
|
|
|
|
|
Windows Powershell Script um automatisiert mittels Chocolately Programme zu installieren und Windowseinstellungen zu machen.
|
|
|
|
|
|
|
|
|
|
## Script ausführen:
|
|
|
|
|
|
|
|
|
|
* Powershell suchen
|
|
|
|
|
* rechte Maustaste und "als Administrator ausführen" wählen
|
|
|
|
|
* Sicherheitsmeldung bestätigen
|
|
|
|
|
|
|
|
|
|
### Im Powershell-Fenster
|
|
|
|
|
|
|
|
|
|
* Befehl "set-executionPolicy -scope process bypass" ausführen.
|
|
|
|
|
* Meldung mit "j" und Entertaste bestätigen
|
|
|
|
|
|
|
|
|
|
Damit wird die Windowssicherheit für dieses Fenster (Session) ausgeschaltet und Du kannst das Script ausführen.
|
|
|
|
|
|
|
|
|
|
* Script ausführen z.B. "c:\setup.ps1"
|
|
|
|
|
* Warten bis die Programme installiert sind. Am Ende kommt eine Erfolgsmeldung, was alles installiert wurde.
|
|
|
|
|
|
|
|
|
|
## Script Anpassen
|
|
|
|
|
|
|
|
|
|
### Windows Einstellungen
|
2021-05-21 19:25:40 +02:00
|
|
|
|
* to be done
|
|
|
|
|
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
|
|
|
|
### Chocolatey
|
|
|
|
|
Chocolatey ist ein Paketmanager, mit dem Du unter Windows vollautomatisiert Programme installieren kannst.
|
|
|
|
|
https://chocolatey.org/
|
|
|
|
|
Im Skript wird das Programm installiert und die Installation einiger Programme angestoßen.
|
|
|
|
|
|
|
|
|
|
Die Installation im Skript erfolgt über "choco install Programmname".
|
|
|
|
|
Verfügbare Programmpakete findest Du unter https://community.chocolatey.org/packages
|
|
|
|
|
|
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
### Windows Apps deinstallieren
|
|
|
|
|
|
|
|
|
|
Alle Apps deinstalieren (Vorsicht!):
|
|
|
|
|
Get-AppxPackage | Remove-AppxPackage
|
|
|
|
|
|
|
|
|
|
Alle Apps bis auf einige Ausnahmen deinstallieren (Vorsicht!)
|
|
|
|
|
|
|
|
|
|
Get-AppxPackage | where-object {$_.name –notlike “*store*”} | where-object {$_.name –notlike “*communicationsapps*”} | where-object {$_.name –notlike “*people*”} | Remove-AppxPackage
|
|
|
|
|
|
2021-05-22 00:11:23 +02:00
|
|
|
|
Alle Standardapps wieder installieren
|
|
|
|
|
Get-AppxPackage | foreach {Add-AppxPackage -register „$($_.InstallLocation)\appxmanifest.xml“ -DisableDevelopmentMod}
|
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Einzelne Apps deinstallieren:
|
|
|
|
|
|
|
|
|
|
3D Builder
|
|
|
|
|
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Alarm und Uhr
|
|
|
|
|
Get-AppxPackage *windowsalarms* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Asphalt 8: Airborne
|
|
|
|
|
Get-AppxPackage *Asphalt8Airborne* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Begleiter für Telefon
|
|
|
|
|
Get-AppxPackage *windowsphone* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Candy Crush Saga
|
|
|
|
|
Get-AppxPackage *CandyCrushSaga* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Drawboard PDF
|
|
|
|
|
Get-AppxPackage *DrawboardPDF* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Erste Schritte
|
|
|
|
|
Get-AppxPackage *getstarted* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Facebook
|
|
|
|
|
Get-AppxPackage *Facebook* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Feedback Hub
|
|
|
|
|
Get-AppxPackage *feedback* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Filme & TV
|
|
|
|
|
Get-AppxPackage *zunevideo* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Finanzen
|
|
|
|
|
Get-AppxPackage *bingfinance* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Fotos
|
|
|
|
|
Get-AppxPackage *photos* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Groove-Musik
|
|
|
|
|
Get-AppxPackage *zunemusic* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Kalender & Mail
|
|
|
|
|
Get-AppxPackage *communicationsapps* | remove-appxpackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Kamera
|
|
|
|
|
Get-AppxPackage *windowscamera* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Karten
|
|
|
|
|
Get-AppxPackage *windowsmaps* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Kontakte
|
|
|
|
|
Get-AppxPackage *people* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Microsoft Solitaire Collection
|
|
|
|
|
Get-AppxPackage *solitairecollection* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Nachrichten
|
|
|
|
|
Get-AppxPackage *bingnews* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Nachrichten & Skype
|
|
|
|
|
Get-AppxPackage *messaging* | remove-appxpackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Office holen
|
|
|
|
|
Get-AppxPackage *officehub* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
OneNote
|
|
|
|
|
Get-AppxPackage *onenote* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Paint 3D
|
|
|
|
|
Get-AppxPackage *mspaint* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Rechner
|
|
|
|
|
Get-AppxPackage *windowscalculator* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Skype
|
|
|
|
|
Get-AppxPackage *skypeapp* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Sport
|
|
|
|
|
Get-AppxPackage *bingsports* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Sprachrekorder
|
|
|
|
|
Get-AppxPackage *soundrecorder* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Windows DVD Player
|
|
|
|
|
Get-AppxPackage *dvd* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Xbox Identity Provider
|
|
|
|
|
Get-AppxPackage *xboxIdentityprovider* | Remove-AppxPackage
|
2021-05-22 00:11:23 +02:00
|
|
|
|
|
2021-05-21 19:25:40 +02:00
|
|
|
|
Xbox
|
2021-05-22 00:11:23 +02:00
|
|
|
|
Get-AppxPackage *xboxapp* | Remove-AppxPackage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weitere Informationen
|
|
|
|
|
https://www.deskmodder.de/wiki/index.php/Windows_10_Apps_entfernen_deinstallieren
|