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

i cnow that but its a long and borring time to active a 10k users