Thank you that worked (partially) . I had to remove the network adapter then reboot run the script and then reinstall the network adapter because it was in a VM. Now the system thinks it's on Enterprise.
It does but I was running in Proxmox and I was looking for a very simple way to do it. As I said success achieved