{"id":74,"date":"2023-03-19T08:15:40","date_gmt":"2023-03-19T07:15:40","guid":{"rendered":"http:\/\/10.4.44.99:10084\/?p=74"},"modified":"2023-03-19T08:15:40","modified_gmt":"2023-03-19T07:15:40","slug":"microsoft-exchange-shell-owa-calendar-sorting-week-numbers","status":"publish","type":"post","link":"https:\/\/www.winni.at\/wordpress\/?p=74","title":{"rendered":"Microsoft Exchange | Shell | OWA Calendar sorting week numbers"},"content":{"rendered":"\n<p>In Europe and USA there are different types how the first week of the year is count.<\/p>\n\n\n\n<p>There are several types of counting them &#8211;&gt;&nbsp;<a href=\"https:\/\/de.wikipedia.org\/wiki\/Woche#Kalenderwoche\">https:\/\/de.wikipedia.org\/wiki\/Woche#Kalenderwoche<\/a><\/p>\n\n\n\n<p>In Exchange the default sort is like the US system. If you want to change them to a different sorting follwing steps in Exchange Management Shell are needed:<\/p>\n\n\n\n<p>Check the current value:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-MailboxCalendarConfiguration User | fl FirstWeekOfYear<br><\/code><\/pre>\n\n\n\n<p>First Day = US count type<\/p>\n\n\n\n<p>FirstFourDayWeek = Europe count type<\/p>\n\n\n\n<p>Change from US to Europe type:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Set-MailboxCalendarConfiguration -identity User -FirstWeekOfYear FirstFourDayWeek<\/code><\/pre>\n\n\n\n<p>Now the first Week in Calendar should have been changed. But only for one user.&nbsp;<\/p>\n\n\n\n<p>With this script at&nbsp;<strong>every<\/strong>&nbsp;User Mailbox this will be set:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>foreach ($Mailbox in (Get-Mailbox -ResultSize Unlimited)) { Set-MailboxCalendarConfiguration -identity \"$($Mailbox.Name)\" -FirstWeekOfYear FirstFourDayWeek }\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>In Europe and USA there are different types how the first week of the year is count. There are several<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[3],"tags":[70,72,73,75,82,136,142],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-kb","tag-exchange","tag-exchange-caledar-owa-sort","tag-exchange-calendar","tag-exchange-calendar-settings","tag-exchange-owa-calendar","tag-microsoft","tag-microsoft-exchange"],"_links":{"self":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74"}],"version-history":[{"count":0,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}