hi, i hope you are well.
id like to build a power shell script for 365 to
1) turn off , domain wide, password expiry in office 365
2) set exisitng users calendars to uk location, uk time zone ((unless this can be done domain wide for existing and future)
3) turn off focused inbox for existing users (unless this can be done domain wide for existing and future)
Are you using AAD Connect? This would be controlled via Active Directory. ELSE, Get-MSOLUser | Set-MSOLUser –PasswordNeverExpires $true
OR... Admin center/Settings/Security & Privacy
2) set exisitng users calendars to uk location, uk time zone ((unless this can be done domain wide for existing and future)
https://www.vspbreda.nl/nl/ms-office/office-365/solved-office-365-bulk-set-language-and-time-zone-for-all-users-in-office-365/
3) turn off focused inbox for existing users (unless this can be done domain wide for existing and future)
https://docs.microsoft.com/en-us/office365/admin/setup/configure-focused-inbox?view=o365-worldwide