Skip to content

Commit 81d3f96

Browse files
Merge pull request #10618 from ryanberg-aquent/CI-9534
AB#9534: [SupportArticles-docs] PR#2001 - Change download links to use aka.ms for vmassist.ps1
2 parents 2d019af + c2935c4 commit 81d3f96

1 file changed

Lines changed: 1 addition & 23 deletions

File tree

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

Lines changed: 1 addition & 23 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:
@@ -72,16 +60,6 @@ Set-ExecutionPolicy Bypass -Force
7260
.\vmassist.ps1
7361
```
7462

75-
### Option 3: Download from browser
76-
77-
1. Download the ```vmassist.ps1``` file [from a web browser](https://github.com//azure/azure-support-scripts/blob/master/vmassist/windows/vmassist.ps1).
78-
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:
79-
80-
```powershell
81-
Set-ExecutionPolicy Bypass -Force
82-
.\vmassist.ps1
83-
```
84-
8563
## Analyzing output
8664

8765
The script runs a series of checks to analyze the health of the VM Guest Agent and look for various known configurations that could cause issues. Each check either passes or fails in the PowerShell window.

0 commit comments

Comments
 (0)