Forum Discussion

JamesFrederick's avatar
JamesFrederick
Copper Contributor
Aug 05, 2022

O365 uninstall from servers

Good day everyone,

So my company recently moved to O365 Apps for Enterprise, and unfortunately, one of our techs accidently deployed the package to all machines (including servers) within the company.  I have attempted to use the configuration tool to create an uninstall XML with no success and have been unable to create a script to uninstall the package that was installed.  We have quite a number of servers that this was installed to, and would prefer not having to log in to each one and remove O365 manually.  Does anyone have any suggestions or thoughts on this to be able to assist?

 

Thanks

1 Reply

  • JamesFrederick

    Which kind of tools are used to deploy the package?

    Can consider deploying PowerShell?

     

    1. Get-Package -ProviderName Programs -IncludeWindowsInstaller to collect the 'Program name'

    2. Get-Package -Name "Program name" | Uninstall-Package

     

Resources