If you modify a script using the MMC or in-cloud editor, then the compute re-processes the new script, the following will occur:
Step 1: The REVERT script is run, if present.
Step 2: The newly changed script is then run.
Here’s an example:
Then the expected behavior should be:
Step 1: The REVERT script is run (7zip uninstalls).
Step 2: The newly changed script is then run (7zip reinstalls).
This will all occur in the same processing cycle, and should not take several GPupdates or PolicyPak Cloud syncs.