Skip to content

Commit df86b88

Browse files
authored
Change download links to use aka.ms for vmassist.ps1
Updated download instructions to use the aka.ms short link instead of the raw GitHub URL for the vmassist.ps1 script.
1 parent 598e388 commit df86b88

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,13 @@ Set-ExecutionPolicy Bypass -Force
4444
(Invoke-WebRequest -Uri https://aka.ms/vmassist -OutFile vmassist.ps1) | .\vmassist.ps1
4545
```
4646

47-
Alternatively, you can specify the full URL instead of the aka.ms short link:
48-
49-
```powershell
50-
(Invoke-WebRequest -Uri https://raw.githubusercontent.com//azure/azure-support-scripts/master/vmassist/windows/vmassist.ps1 -OutFile vmassist.ps1) | .\vmassist.ps1
51-
```
52-
5347
### Option 2: Manually download and run
5448

5549
Download:
5650

5751
```powershell
5852
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
59-
Invoke-WebRequest -Uri https://raw.githubusercontent.com//azure/azure-support-scripts/master/vmassist/windows/vmassist.ps1 -OutFile vmassist.ps1
60-
```
61-
62-
Alternatively, you can specify the full URL instead of the aka.ms short link:
63-
64-
```powershell
65-
Invoke-WebRequest -Uri https://raw.githubusercontent.com//azure/azure-support-scripts/master/vmassist/windows/vmassist.ps1 -OutFile vmassist.ps1
53+
Invoke-WebRequest -Uri https://aka.ms/vmassist -OutFile vmassist.ps1
6654
```
6755

6856
Run the script:
@@ -74,7 +62,7 @@ Set-ExecutionPolicy Bypass -Force
7462

7563
### Option 3: Download from browser
7664

77-
1. Download the ```vmassist.ps1``` file [from a web browser](https://github.com//azure/azure-support-scripts/blob/master/vmassist/windows/vmassist.ps1).
65+
1. Download the ```vmassist.ps1``` file [from a web browser](https://aka.ms/vmassist).
7866
1. In an elevated PowerShell window, make sure that you're in the same directory that you downloaded the script to, and then run the following code to run the script:
7967

8068
```powershell

0 commit comments

Comments
 (0)