nerdexam
Citrix

1Y0-301 · Question #57

Which PowerShell cmdlet should a Citrix Engineer use to automatically turn on logged off virtual desktops during peak hours?

The correct answer is A. Set-BrokerDesktopGroup. Set-BrokerDesktopGroup is the cmdlet used to configure power management behavior at the Delivery Group level, including automatically powering on logged-off desktops when peak hours begin.

Managing the Environment

Question

Which PowerShell cmdlet should a Citrix Engineer use to automatically turn on logged off virtual desktops during peak hours?

Options

  • ASet-BrokerDesktopGroup
  • BSet-BrokerMachineCatalog
  • CSet-BrokerPowerTimeScheme
  • DSet-BrokerHostingPowerAction

How the community answered

(54 responses)
  • A
    87% (47)
  • B
    2% (1)
  • C
    4% (2)
  • D
    7% (4)

Why each option

Set-BrokerDesktopGroup is the cmdlet used to configure power management behavior at the Delivery Group level, including automatically powering on logged-off desktops when peak hours begin.

ASet-BrokerDesktopGroupCorrect

Set-BrokerDesktopGroup exposes power management parameters such as AutomaticPowerOnForAssigned, PeakBufferSizePercent, and peak-hour pool size settings that instruct the Citrix Broker Service to power on logged-off machines when peak periods start, making it the correct cmdlet for automating desktop availability during peak hours.

BSet-BrokerMachineCatalog

Set-BrokerMachineCatalog modifies properties of a machine catalog such as its description or provisioning scheme settings, and does not control power management schedules or peak-hour power-on behavior.

CSet-BrokerPowerTimeScheme

Set-BrokerPowerTimeScheme defines the time windows and target pool sizes for peak and off-peak periods, but it does not by itself enable the automatic power-on behavior - that is governed by the Delivery Group configuration via Set-BrokerDesktopGroup.

DSet-BrokerHostingPowerAction

Set-BrokerHostingPowerAction issues an immediate one-time power action against a single specific machine and cannot be used to configure automated, schedule-driven power-on behavior across a Delivery Group.

Concept tested: Broker PowerShell cmdlet for peak-hour desktop power management

Source: https://developer-docs.citrix.com/en-us/citrix-virtual-apps-desktops-sdk/current-release/broker/set-brokerdesktopgroup

Topics

#PowerShell#BrokerDesktopGroup#power management#peak hours

Community Discussion

No community discussion yet for this question.

Full 1Y0-301 Practice