Get-BrokerRebootCycle do not track RebootScheduleName for natural reboot

Get-BrokerRebootCycle do not track RebootScheduleName for natural reboot

book

Article ID: CTX340108

calendar_today

Updated On:

Description

If reboot schedule is configured through PowerShell with the parameter -UseNaturalReboot $true, it cannot be tracked through Get-BrokerRebootCycle.

For example the highlighted reboot schedule is configured with natural reboot which can not be tracked through Get-BrokerRebootCycle.

image.png

image.png

Resolution

Use -UseNaturalReboot $false  if you want to track reboot cycles.

Problem Cause

By designed natural reboot cycles are not tracked.
 

Additional Information

When you enable the restart after drain feature with the -UseNaturalReboot <Boolean> parameter, all machines are restarted after draining all sessions. When the restart time is reached, machines are put into the drain state and then restarted when all sessions are logged off.

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/install-configure/delivery-groups-manage.html#machines