You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$wvdHostpool = Get-RdsHostPool -TenantName $wvdTenant.TenantName | Out-GridView -PassThru -Title "Select the host pool you'd like to scale"
187
+
$hostPoolName = $wvdHostpool.HostPoolName
174
188
175
-
$aadTenantId = Read-Host -Prompt "Enter your Azure AD tenant ID"
176
-
177
-
$subscriptionId = Read-Host -Prompt "Enter your Azure Subscription ID"
178
-
179
-
$tenantName = Read-Host -Prompt "Enter the name of your WVD tenant"
180
-
181
-
$hostPoolName = Read-Host -Prompt "Enter the name of the host pool you'd like to scale"
182
-
183
189
$recurrenceInterval = Read-Host -Prompt "Enter how often you'd like the job to run in minutes, e.g. '15'"
184
-
185
190
$beginPeakTime = Read-Host -Prompt "Enter the start time for peak hours in local time, e.g. 9:00"
186
-
187
191
$endPeakTime = Read-Host -Prompt "Enter the end time for peak hours in local time, e.g. 18:00"
188
-
189
192
$timeDifference = Read-Host -Prompt "Enter the time difference between local time and UTC in hours, e.g. +5:30"
190
-
191
193
$sessionThresholdPerCPU = Read-Host -Prompt "Enter the maximum number of sessions per CPU that will be used as a threshold to determine when new session host VMs need to be started during peak hours"
192
-
193
194
$minimumNumberOfRdsh = Read-Host -Prompt "Enter the minimum number of session host VMs to keep running during off-peak hours"
194
-
195
195
$limitSecondsToForceLogOffUser = Read-Host -Prompt "Enter the number of seconds to wait before automatically signing out users. If set to 0, users will be signed out immediately"
196
-
197
196
$logOffMessageTitle = Read-Host -Prompt "Enter the title of the message sent to the user before they are forced to sign out"
198
-
199
197
$logOffMessageBody = Read-Host -Prompt "Enter the body of the message sent to the user before they are forced to sign out"
200
-
201
-
$location = Read-Host -Prompt "Enter the name of the Azure region where you will be creating the logic app"
202
-
203
-
$connectionAssetName = Read-Host -Prompt "Enter the name of the Azure RunAs connection asset"
0 commit comments