Exam 1Y0-204 All QuestionsBrowse all questions from this exam
Question 177

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?

    Correct Answer: B

    To configure a new restart schedule for the Windows 2016 Server OS group named 'Win2016-ServerOS', beginning at 23:00h (11:00 PM) each day with 30-minute intervals between each machine restart, the administrator should use the 'New-BrokerRebootScheduleV2' cmdlet. This command allows the creation of new reboot schedules, specifying parameters such as start time, frequency, and duration. In this case, the correct command is 'New-BrokerRebootScheduleV2 -Name XYZ-ServerOS-DailyReboot -DesktopGroupName Win2016-ServerOS -Frequency Daily -StartTime 23:00 -Enabled $true - RebootDuration 30' ensuring that the restart schedule is set up correctly.

Discussion
majkelOption: B

B is correct because "New-BrokerRebootSchedule" does not have "Name" argument. But to be honest with such questions they do not measure any knowledge.

d0bermannn

b is most correct of all, but RebootDuration 30 param defines obviously not interval between reboots eq 30. it is reboot phase duration for all vda affected

MassRattlerOption: B

B is correct. New-BrokerRebootScheduleV2: This cmdlet is used to create a new reboot schedule for a desktop group. It allows you to specify various parameters such as the day, frequency, start time, and duration of the reboot schedule, as well as any warning messages or titles to be displayed before the reboot. Set-BrokerRebootSchedule: On the other hand, is used to update the values of one or more existing desktop group reboot schedules. It can modify parameters like the day, description, frequency, and other settings related to an already defined reboot schedule