Zum Inhalt springen

SCCM für Win11 (PS Problem)


Empfohlene Beiträge

Geschrieben

Moin Moin.

Ich hab da mal ne Frage zu den Experten bzgl. Windows 11 über PXE betanken.

Soweit funktioniert alles, W11 wird mal alles Programmen installiert via PXE nur das Powershell Skript funktioniert nicht. Der Ablauf ist eigentlich einfach PS install -> Programme -> PS Skript

Jedoch spuckt der SMSTS.log mir keinen Fehler aus -> Dennoch sind die Microsoft Programme/Apps wie Copilot, XBOX, ... installiert.

Script:
 

Get-AppxPackage -name *Microsoft.ZuneMusic*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.Music.Preview*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.XboxGameCallableUI*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.XboxIdentityProvider*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingTravel*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingHealthAndFitness*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingFoodAndDrink*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.People*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingFinance*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.3DBuilder*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsCalculator*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingNews*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.XboxApp*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingSports*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsCamera*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.Getstarted*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.Office.OneNote*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsMaps*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.MicrosoftSolitaireCollection*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.MicrosoftOfficeHub*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingWeather*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BioEnrollment*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsStore*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.Windows.Photos*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsPhone*| Remove-AppxPackage -AllUsers
Get-AppxPackage -AllUsers | Where-Object {$_.Name -Like '*Microsoft.Copilot*'} | Remove-AppxPackage -AllUsers

Bei W10 Geräten klappt das Script (nur ohne Copilot Zeile).

Bin ich einfach nur Doof oder ärgert Windows mich einfach?

Geschrieben
vor 2 Stunden schrieb word.exe:

Moin Moin.

Ich hab da mal ne Frage zu den Experten bzgl. Windows 11 über PXE betanken.

Soweit funktioniert alles, W11 wird mal alles Programmen installiert via PXE nur das Powershell Skript funktioniert nicht. Der Ablauf ist eigentlich einfach PS install -> Programme -> PS Skript

Jedoch spuckt der SMSTS.log mir keinen Fehler aus -> Dennoch sind die Microsoft Programme/Apps wie Copilot, XBOX, ... installiert.

Script:
 

Get-AppxPackage -name *Microsoft.ZuneMusic*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.Music.Preview*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.XboxGameCallableUI*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.XboxIdentityProvider*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingTravel*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingHealthAndFitness*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingFoodAndDrink*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.People*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingFinance*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.3DBuilder*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsCalculator*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingNews*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.XboxApp*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingSports*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsCamera*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.Getstarted*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.Office.OneNote*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsMaps*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.MicrosoftSolitaireCollection*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.MicrosoftOfficeHub*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BingWeather*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.BioEnrollment*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsStore*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.Windows.Photos*| Remove-AppxPackage -AllUsers
Get-AppxPackage -name *Microsoft.WindowsPhone*| Remove-AppxPackage -AllUsers
Get-AppxPackage -AllUsers | Where-Object {$_.Name -Like '*Microsoft.Copilot*'} | Remove-AppxPackage -AllUsers

Bei W10 Geräten klappt das Script (nur ohne Copilot Zeile).

Bin ich einfach nur Doof oder ärgert Windows mich einfach?

Ich bin jetzt kein Profi, dennoch hatten wir in meinem alten Ausbildungsbetrieb den selben Mist.


Probier mal folgendes:
Get-AppxPackage -AllUsers | Select-Object Name, PackageFullName

->Das sollte dir eine Liste mit den installierten Paketen geben, die du dann anschließend mit deinem Skript vergleichen kannst.

Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren

Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde Dich hier an.

Jetzt anmelden

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...