When I use PowerShell as an admin in Windows 10 (1803) it fails when I use the command

COW IT
COW IT used Ask the Experts™
on
When I use powershell as an admin in Windows 10 (1803) it fails when I use the command below. Is there another way to remove this AppxPackage?

Get-AppxPackage -allusers *messaging* | Remove-AppxPackage
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
FOXActive Directory/Exchange Engineer
Top Expert 2015

Commented:
Please post error
Are you using the 'PackageFullName'?

Get-AppxPackage -Package 'enterPackageFullNamehere' -allusers | Remove-AppxPackage
Technical Consultant
Commented:
try

Get-AppxPackage -allusers Microsoft.Messaging | Remove-AppxPackage

or

Get-AppxPackage -allusers Microsoft.Messaging_3.38.22001.0_x64__8wekyb3d8bbwe | Remove-AppxPackage

there you go

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial