Skip to main content

Office Cleanup and M365 Deployment

Purpose

The Purpose of this solution is to provide a single solution to uninstall any version of Office and to install M365 apps

Associated Content

ContentTypeFunction
cPVAL Enable Office Cleanup and M365 DeploymentCustom FieldCustom field to enable/disable the office cleanup and M365 Deployment.
cPVAL Office Versions to UninstallCustom FieldCustom field to specify the Office Version that needs to be Uninstalled. If this custom field is blank on all device,location and Organization level, Script - Office Cleanup and M365 Deployment will use the script parameter Versions to Uninstall, if its also blank, script will uninstall all installed versions.
cPVAL XmlpathCustom FieldCustom Field to specify XML file to be used for Microsoft 365 installation. If this custom field is blank on all device,location and Organization level, Script - Office Cleanup and M365 Deployment will use the script parameter XMLPath, if its also blank, script will use the default configuration.
Office Cleanup and M365 DeploymentScriptThis Script uninstalls any version of Office and installs M365 apps
Execute - Office Cleanup and M365 DeploymentCompound conditionExecutes the Script - Office Cleanup and M365 Deployment only when 'cPVAL Enable Office Cleanup and M365 Deployment' is enabled.

Implementation

Changelog

2026-30-04

  • Initial version of the document