I am not sure if this approach is really a good idea ...
But if you have a working script for one VLAN, make a copy/paste of that call and adjust the parameters.
The more efficient way would be to have a csv file with all parameters and loop through the lines of this file.
And if you want to learn this, here is a good start:
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.