Additional features, settings, or issues not covered by specific Microsoft Teams categories
CL did you run the script as administrator? Also if you are referring to deleting or renaming the cache folder, please note that the Citrix key the script deletes is created on some machines, still not clear on the circumstances as we've seen systems with and without it. However my experience is that if the Citrix key exists, clearing the cache alone will not enable the new experience view.
Also, make sure Teams is closed and logged out prior to running the script.