IVs

I have a question regarding the IVs password. If I activate full IVs for the players Pokémon (my pokemon) will my current pokemon that don’t have perfect IVs gain perfect IVs after I implement the password or will it only apply to the pokemon I catch after I activated the password?