How do I activate all inactive members at the click of a button?

i changed forum from ipboard to discourse the forum got in ipboard more then 25k users so thei reregistered to discourse