询问者
Uninstall mail windows app from sccm

问题
-
Hello !
I have to uninstall the mail windows app from the new computer on the domain.
To be sure to make this change only on the new computer, I wanted to use SCCM, adding a tasksequence.
So I added at the end a task sequence that executes this PS script :
Get-AppxPackage -allusers Microsoft.windowscommunicationsapps | Remove-AppxPackage
There is no error from SCCM, but the mail app is still here.
So :
Does the initialisation of a new user on the computer reinstall the app (while loading the session for the first time) ?
If yes, is it still possible to solve my issue using a task sequence in SCCM ?
If no, the only way would be to use a gpo with a start script session ?
Thanks a lot.