Parameters
-Name<String>
Specifies the administrative name of the new power time scheme. Each scheme must have a name which is unique within the site.
Required? |
true |
Default Value |
|
Accept Pipeline Input? |
true (ByPropertyName) |
-DaysOfWeek<TimeSchemeDays>
Specifies the pattern of days of the week that the power time scheme covers.
Valid values are (singly or a list of) Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Weekdays and Weekend.
Required? |
true |
Default Value |
|
Accept Pipeline Input? |
true (ByPropertyName) |
-DesktopGroupUid<Int32>
Specifies the desktop group that the power time scheme applies to.
Required? |
true |
Default Value |
|
Accept Pipeline Input? |
true (ByPropertyName) |
-DisplayName<String>
Specifies the name of the new power time scheme as displayed in the DesktopStudio console. Each scheme associated with a desktop group must have a display name which is unique within its desktop group, although the same display name can be used on power schemes for different desktop groups.
Required? |
false |
Default Value |
|
Accept Pipeline Input? |
true (ByPropertyName) |
-PeakHours<Boolean[]>
A set of 24 boolean flag values, one for each hour of the day. The first value in the array relates to midnight to 00:59, the next one to 1 AM to 01:59 and so on, with the last array element relating to 11 PM to 11:59. If the flag is $true it means that the associated hour of the day is considered a peak time; if $false it means that it is considered off-peak.
Required? |
false |
Default Value |
24 $false values, meaning all hours are off-peak |
Accept Pipeline Input? |
true (ByPropertyName) |
-PoolSize<Int32[]>
A set of 24 integer values, one for each hour of the day. The first value in the array relates to midnight to 00:59, the next one to 1 AM to 01:59 and so on, with the last array element relating to 11 PM to 11:59. The value defines the number of machines (either as an absolute number or a percentage of the machines in the desktop group) that are to be maintained in a running state, whether they are in use or not. A value of -1 has special meaning: pool size management does not apply during such hours.
Required? |
false |
Default Value |
24 values of '-1', meaning no pool size management is to be performed |
Accept Pipeline Input? |
true (ByPropertyName) |
-PoolUsingPercentage<Boolean>
A boolean flag to indicate whether the integer values in the pool size array are to be treated as absolute values (if this value is $false) or as percentages of the number of machines in the desktop group (if this value is $true).
Required? |
false |
Default Value |
false |
Accept Pipeline Input? |
true (ByPropertyName) |
-LoggingId<Guid>
Specifies the identifier of the high level operation that this cmdlet call forms a part of. Desktop Studio and Desktop Director typically create High Level Operations. PowerShell scripts can also wrap a series of cmdlet calls in a High Level Operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.
Required? |
false |
Default Value |
|
Accept Pipeline Input? |
false |
-AdminAddress<String>
Specifies the address of a XenDesktop controller that the PowerShell snapin will connect to. This can be provided as a host name or an IP address.
Required? |
false |
Default Value |
Localhost. Once a value is provided by any cmdlet, this value will become the default. |
Accept Pipeline Input? |
false |