Share via


Office 365: How to change Working Hours for all users using PowerShell

Step by step guide used to perform the task which helps to change working hours for all users in Office 365. You can see working hours when you are assigning a meeting or performing any tasks in a calendar.

Step by step guide:

Open PowerShell windows and Run as Administrator.

First Connect Office 365.

Step 1.

Set-ExecutionPolicy remotesigned

Step 2.

Set-ExecutionPolicy Unrestricted -Force$UserCredential = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powersh... -Credential $UserCredential -Authentication Basic -AllowRedirectionImport-PSSession $Session

For changing Timings.

Get-mailbox | Set-MailboxCalendarConfiguration -WorkingHoursStartTime 12:00:00 -WorkingHoursEndTime 17:00:00

Reference:

Also, watch full video according to steps.

View