This thesis examines the ab-initio calculation of spin-dependent transport properties in disordered materials. It presents a theoretical method to systematically calculate macroscopic transport quantities from first principles. The thesis considers vibrational excitations within perturbation theory and includes anharmonic terms using the quasi-harmonic approximation. It also presents a theory to introduce temperature corrections to the calculation of magnetic exchange interactions. Results are presented for a set of materials of interest for spintronics and spin-caloritronics applications.