Skip to content

Commit 487618d

Browse files
committed
Updated code based on Christian's feeback.
1 parent 2a87494 commit 487618d

File tree

1 file changed

+18
-36
lines changed

1 file changed

+18
-36
lines changed

articles/virtual-desktop/set-up-scaling-script.md

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -201,42 +201,24 @@ Finally, you'll need to create the Azure Logic App and set up an execution sched
201201
$maintenanceTagName = Read-Host -Prompt "Enter the name of the Tag associated with VMs you don’t want to be managed by this scaling tool"
202202
203203
.\createazurelogicapp.ps1 -ResourceGroupName $resourceGroupName `
204-
205-
-AADTenantID $aadTenantId `
206-
207-
-SubscriptionID $subscriptionId `
208-
209-
-TenantName $tenantName `
210-
211-
-HostPoolName $hostPoolName `
212-
213-
-RecurrenceInterval $recurrenceInterval `
214-
215-
-BeginPeakTime $beginPeakTime `
216-
217-
-EndPeakTime $endPeakTime `
218-
219-
-TimeDifference $timeDifference `
220-
221-
-SessionThresholdPerCPU $sessionThresholdPerCPU `
222-
223-
-MinimumNumberOfRDSH $minimumNumberOfRdsh `
224-
225-
-LimitSecondsToForceLogOffUser $limitSecondsToForceLogOffUser `
226-
227-
-LogOffMessageTitle $logOffMessageTitle `
228-
229-
-LogOffMessageBody $logOffMessageBody `
230-
231-
-Location $location `
232-
233-
-ConnectionAssetName $connectionAssetName `
234-
235-
-WebHookURI $webHookURI `
236-
237-
-AutomationAccountName $automationAccountName `
238-
239-
-MaintenanceTagName $maintenanceTagName
204+
-AADTenantID $aadTenantId `
205+
-SubscriptionID $subscriptionId `
206+
-TenantName $tenantName `
207+
-HostPoolName $hostPoolName `
208+
-RecurrenceInterval $recurrenceInterval `
209+
-BeginPeakTime $beginPeakTime `
210+
-EndPeakTime $endPeakTime `
211+
-TimeDifference $timeDifference `
212+
-SessionThresholdPerCPU $sessionThresholdPerCPU `
213+
-MinimumNumberOfRDSH $minimumNumberOfRdsh `
214+
-LimitSecondsToForceLogOffUser $limitSecondsToForceLogOffUser `
215+
-LogOffMessageTitle $logOffMessageTitle `
216+
-LogOffMessageBody $logOffMessageBody `
217+
-Location $location `
218+
-ConnectionAssetName $connectionAssetName `
219+
-WebHookURI $webHookURI `
220+
-AutomationAccountName $automationAccountName `
221+
-MaintenanceTagName $maintenanceTagName
240222
```
241223
242224
After you run the script, the Logic App should appear in a resource group, as shown in the following image.

0 commit comments

Comments
 (0)