Additional features, settings, or issues not covered by specific Microsoft Teams categories
Hi
I'm afraid you have to describe in more detail what you mean.
I get that you wish a script and to make a bulk change, but from what to what. Do you have an on-prem active directory where you wish to make this change? And based on what data? Is it based on a CSV file or some other format?
The more information you can provide, the better the chance that someone can help you.