Skip to content

Commit f2475fe

Browse files
authored
Merge pull request #49530 from michawets/patch-4
Made PS to download createazureautomationaccount.ps1 more readable
2 parents e2a5344 + bb76749 commit f2475fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ First, you'll need an Azure Automation account to run the PowerShell runbook. He
7878
3. Run the following cmdlet to download the script for creating the Azure Automation account:
7979
8080
```powershell
81-
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Azure/RDS-Templates/master/wvd-templates/wvd-scaling-script/createazureautomationaccount.ps1" -OutFile "your local machine path\ createazureautomationaccount.ps1"
81+
Set-Location -Path "c:\temp"
82+
$uri = "https://raw.githubusercontent.com/Azure/RDS-Templates/master/wvd-templates/wvd-scaling-script/createazureautomationaccount.ps1"
83+
Invoke-WebRequest -Uri $uri -OutFile ".\createazureautomationaccount.ps1"
8284
```
8385
8486
4. Run the following cmdlet to execute the script and create the Azure Automation account:

0 commit comments

Comments
 (0)