Remove the Mail App – Intune PowerShell Script

Written by James McDonald

May 18, 2021

Create this script and run it in user context

I called my script RemoveMailApp.ps1

# Important: set to run this in user context
Get-AppxPackage Microsoft.windowscommunicationsapps | Remove-AppxPackage


Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

List local disks

GET-CimInstance -query "SELECT * from Win32_DiskDrive" DeviceID Caption Partitions Size Model -------- -------...

Create ISO using Powershell

Usage New-IsoFile -NewIsoFilePath C:\tmp\Hyper-V.iso-sources -ImageName Hyper-V -SourceFilePath 'C:\tmp\Hyper-V'...