The excitation of cosmological perturbations in an anisotropic cosmological model and in the presence of a homogeneous magnetic field has been studied, using the ideal magnetohydrodynamic (MHD) equations. In this case, the system of partial differential equations which governs the evolution of the magnetized cosmological perturbations can be solved analytically. Our results verify that fast-magnetosonic modes propagating normal to the magnetic field, are excited. But, what is most important, is that, at late times, the magnetic-induction contrast(δB/B) grows, resulting in the enhancement of the ambient magnetic field. This process can be particularly favored by condensations, formed within the plasma fluid due to gravitational instabilities.