To create users in bulk:
Go to Menu > Administration > Security > Users > Create Users
Select Create Multiple Users
Select a Username Format, Duplicate Username Suffix and Default Role
Search for community members. By default, all selected community members will receive the default role, a random password and will have a communication sent to them, if a communication is selected on the next step.
Make any changes to the default options for all or individual users
Generate random passwords, or manually type specified passwords for users.
...