I tested on my Exchange 2016 and 2019 installs, worked just fine. It gave me a warning “WARNING: Please update UseDatabaseQuotaDefaults to false in order for mailbox quotas to apply.”, which I added as “-UseDatabaseQuotaDefaults $false” and that warning went away. The quota warning level was changed either way, but would be reset if it was using the default quotas, as the warning suggests.
I also tested with a hybrid Exchange Online, Office 365, and I was NOT able to change the warning quota for those accounts via powershell. The script doesn’t seem to do anything at all. Even when I went after a single account, the quota was not adjusted.
[quote quote=206307]I tested on my Exchange 2016 and 2019 installs, worked just fine. It gave me a warning “WARNING: Please update UseDatabaseQuotaDefaults to false in order for mailbox quotas to apply.”, which I added as “-UseDatabaseQuotaDefaults $false” and that warning went away. The quota warning level was changed either way, but would be reset if it was using the default quotas, as the warning suggests.
I also tested with a hybrid Exchange Online, Office 365, and I was NOT able to change the warning quota for those accounts via powershell. The script doesn’t seem to do anything at all. Even when I went after a single account, the quota was not adjusted.
[/quote]
Yea I had to do it the old fashioned way… It is okay though, maybe next time