If I want to set the regional configuration of newly created or migrated mailboxes, is the following ScriptingAgentConfig correct?
<?xml version="1.0" encoding="utf-8" ?>
<Configuration version="1.0">
<Feature Name="Mailboxes" Cmdlets="New-Mailbox, Enable-Mailbox, New-MoveRequest, Resume-MoveRequest">
<ApiCall Name="OnComplete">
if($succeeded) {
$Name= $ProvisioningHandler.UserSpecifiedParameters["Name"]
Set-MailboxRegionalConfiguration $Name -Language en-us -DateFormat "M/d/yyyy" -TimeFormat "H:mm" -TimeZone "China Standard Time"
}
</ApiCall>
</Feature>
</Configuration>