Cloud Connector Edition set automatic tenant update time windows
A very important task after installing a CCE (Cloud Connector Edition)
You must set a proper Update Time for your CCE Windows Updates und CCE Patching.WARNING 1:
If you don't do this, at any point of time the CCE might start installation updates and will set you offline for the installation for up to 3hrs+.
WARNING 2:
You have to configure the UPDATE Window before you deploy the CCE!
NOTE:
The time zone is not configurable, but is tight to the Hyper-V host (the CCE location) defined in the windows host. Make sure the time zone setting are correct on the CCE!
First login in to your Office 365 Tenant
Import-Module skypeonlineconnector$cred = Get-Credential
$Session = New-CsOnlineSession -Credential $cred -Verbose
Import-PSSession $session
Enable (Updates Windows)
You have to identify (name) and define a update windowsNew-CsTenantUpdateTimeWindow -Identity AlwaysOn -Daily -StartTime 0:00 -Duration 24:00
You have to identify your CCE site and assign the update windows
The Update windows should be setup for both WindowsUpdates and CCE BitsUpdate
Set-CsHybridPSTNSite -Identity <SiteName> -OsUpdateTimeWindow @{add="AlwaysOn"} -BitsUpdateTimeWindow @{add="AlwaysOn"}
Disable (Update Windows)
Create a time window in which the update will not be applied:| 
New-CsTenantUpdateTimeWindow -Identity NeverOn -Monthly -WeeksOfMonth First -DaysOfWeek Sunday -StartTime 3:00 -Duration 0:0 | 
Apply the new time window to your site:
| 
Set-CsHybridPSTNSite -Identity <SiteName> -OsUpdateTimeWindow @{add="NeverOn"} -BitsUpdateTimeWindow @{add="NeverOn"} Further information's:The switch in the cmdlet -BitsUpdateTimeWindow can be modified with add, remove and replaceOther example:
 
 | 
 
 
Comments
Post a Comment