Gets the set of time ranges when power optimization will be used.
Description
The Get-SCPowerOptimizationRange cmdlet gets the set of power optimization time ranges that have been added to a dynamic optimization configuration. During these time ranges, the hosts associated with the dynamic optimization configuration are turned on and off as needed.
For more information about Get-SCPowerOptimizationRange, type: "Get-Help Get-SCPowerOptimizationRange -online".
Parameters
DynamicOptimizationConfiguration
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a dynamic optimization configuration object.
Confirm
Required?
false
Accept Pipeline Input?
false
Position?
named
Prompts for confirmation before running the command.
VMMServer
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a VMM server object.
Examples
1: Get the power optmization time
ranges associated with a dynamic opmization configuration.
The first command gets the host group object named HostGroup01 and stores the object in the $HostGroup variable.
The second command gets the dynamic optimization configuration object for the host group stored in $HostGroup and stores the object in the $DOConfig variable.
The third command gets the power optimization ranges that have been added to the dynamic optimization configuration stored in $DOConfig.
The last command displays information about the power optimization ranges stored in $PORange.