Hi, Ernesto
You could remove old version of modules, using something like, update the modules:
Update-Module Az -Force
Then remove the older ones: Remove old PowerShell modules versions using PowerShell, and then make sure you are running the latest.