This function sets the regional configuration settings (language, time zone, date format, time format)
for Exchange Online mailboxes.
It can target mailboxes by identity, by domain, from a CSV file, or all mailboxes in the organization.
It also supports generating the corresponding Set-MailboxRegionalConfiguration cmdlets without executing them.
Generates the Set-MailboxRegionalConfiguration cmdlet for the specified mailbox with the given regional settings and saves it to the specified file without executing it.
Generates the Set-MailboxRegionalConfiguration cmdlets for mailboxes listed in the specified CSV file and saves them to the specified file without executing them.
The language code to set for the mailbox regional configuration (e.g., ‘en-US’, ‘fr-FR’).
See the ValidateSet in the parameter definition for supported language codes.
The time zone to set for the mailbox regional configuration.
This can be a time zone ID (e.g., ‘Pacific Standard Time’)
or a simplified offset format (e.g., ‘+1’, ‘-5’).
See the ValidateSet in the parameter definition for supported offset values.
The date format to set for the mailbox regional configuration (e.g., ‘MM/dd/yyyy’, ‘dd/MM/yyyy’).
Auto-detected based on the specified language if not provided.
The time format to set for the mailbox regional configuration (e.g., ‘HH:mm’, ‘hh:mm tt’).
Auto-detected based on the specified language if not provided.
If specified, the function will only modify mailboxes that currently have no language configured (empty Language property).
Useful to avoid overwriting existing configurations set by users or administrators.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.