Citrix Virtual Apps and Desktops 7 Associate — Question 180
Scenario: A Citrix Administrator will use PowerShell to configure a new restart schedule for the Windows 2016 Server OS group named `Win2016-ServerOS` within a Citrix Virtual Desktops infrastructure.
The administrator needs the machines in the Server OS group to restart at a time when no users will be accessing them: beginning at 23:00h (11:00 PM) each day, with 30-minute intervals between each machine restart.
Which PowerShell command should the administrator use?
Answer options
- A. New-BrokerRebootSchedule -Name XYZ-ServerOS-DailyReboot -DesktopGroupName Win2016-ServerOS -Frequency Daily -StartTime “11:00” -Enabled $true - RebootDuration 30
- B. New-BrokerRebootScheduleV2 -Name XYZ-ServerOS-DailyReboot -DesktopGroupName Win2016-ServerOS -Frequency Daily -StartTime “23:00” -Enabled $true - RebootDuration 30
- C. Set-BrokerRebootScheduleV2 -Name XYZ-ServerOS-DailyReboot -DesktopGroupName Win2016-ServerOS -Frequency Daily -StartTime “11:00” -Enabled $true - RebootDuration 30
- D. Set-BrokerRebootSchedule -Name XYZ-ServerOS-DailyReboot -DesktopGroupName Win2016-ServerOS -Frequency Daily -StartTime “23:00” -Enabled $true - RebootDuration 30
Correct answer: B
Explanation
The correct answer is B because it uses the appropriate command 'New-BrokerRebootScheduleV2' with the correct start time of '23:00' and a reboot duration of 30 minutes, fulfilling the requirements. Option A incorrectly specifies the start time as '11:00', while options C and D use the wrong command types for creating a new schedule instead of setting one.