- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe to Topic
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
PowerShell removal of MS Office 365
Hi Team
First time poster. I'm attempting to remove, via PowerShell, the Microsoft Dynamics 365 for Finance and Operations: Document Routing (DRA - Document Routing Agent).
As one can see, it is clearly visible in Control Panel:
However, when I execute the PS script below to display all software installed on the machine, the above highlighted does not appear for some reason? I know that this installs from a .MSI, so should in theory be able to be removed silently.
Get-WmiObject -Class Win32_Product | Select-Object -Property Name
Any answers greatly appreciated.
Cheers
Ryan (Nayr)
- Labels:
-
Windows & Devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Uninstall Microsoft 365 manually using PowerShell
Right-click Start. and select Windows PowerShell (Admin).
In the Windows PowerShell window, type the following: Get-AppxPackage -name “Microsoft.Office.Desktop” | Remove-AppxPackage.
Press Enter. This takes a few minutes. Once it's done, a new command prompt appears.
Regards,
Rachel Gomez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thanks V.
Just to add to my OP, using the "Get-Package" command, I can see it:
However now the problem morphs slightly in being unable to uninstall it using the Uninstall-Package command, the system saying that it cannot find the package?
Thanks in advance for your attention.
Cheers
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
@NayrI I don't know if you have already seen this or if it will help but I found this:
Remove Microsoft 365 licenses from user accounts with PowerShell
Other than that I don't have any answers for you, I'm sorry! I would suggest submitting a support ticket at Partner Support Center for further assistance and we can keep tracking this string in case someone else has some knowledge around it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thanks for the reply, to confirm though, I am not seeking to remove the Office licence - merely a component of the suite (the Document Routing Agent).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Ok, I don't think I have any other help to offer, this is not my area of expertise. I would suggest the support route as I mentioned in my previous post. Keep us posted on how it goes!!
