To effectuate the agreement, the joint school board shall have all the powers granted by law to any or all of the participating school districts.