From df86b887a9cf18a458a5e2cd486e332defa6a0f4 Mon Sep 17 00:00:00 2001 From: kegregoi <53018919+kegregoi@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:09:42 -0600 Subject: [PATCH 1/2] 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. --- .../windows-azure-guest-agent-tools-vmassist.md | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md b/support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md index b26764f40b0..361ee529ba0 100644 --- a/support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md +++ b/support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md @@ -44,25 +44,13 @@ Set-ExecutionPolicy Bypass -Force (Invoke-WebRequest -Uri https://aka.ms/vmassist -OutFile vmassist.ps1) | .\vmassist.ps1 ``` -Alternatively, you can specify the full URL instead of the aka.ms short link: - -```powershell -(Invoke-WebRequest -Uri https://raw.githubusercontent.com//azure/azure-support-scripts/master/vmassist/windows/vmassist.ps1 -OutFile vmassist.ps1) | .\vmassist.ps1 -``` - ### Option 2: Manually download and run Download: ```powershell [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -Invoke-WebRequest -Uri https://raw.githubusercontent.com//azure/azure-support-scripts/master/vmassist/windows/vmassist.ps1 -OutFile vmassist.ps1 -``` - -Alternatively, you can specify the full URL instead of the aka.ms short link: - -```powershell -Invoke-WebRequest -Uri https://raw.githubusercontent.com//azure/azure-support-scripts/master/vmassist/windows/vmassist.ps1 -OutFile vmassist.ps1 +Invoke-WebRequest -Uri https://aka.ms/vmassist -OutFile vmassist.ps1 ``` Run the script: @@ -74,7 +62,7 @@ Set-ExecutionPolicy Bypass -Force ### Option 3: Download from browser - 1. Download the ```vmassist.ps1``` file [from a web browser](https://github.com//azure/azure-support-scripts/blob/master/vmassist/windows/vmassist.ps1). + 1. Download the ```vmassist.ps1``` file [from a web browser](https://aka.ms/vmassist). 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: ```powershell From 255b634572b13d36f9d90632d450674224e17de1 Mon Sep 17 00:00:00 2001 From: kegregoi <53018919+kegregoi@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:45:21 -0600 Subject: [PATCH 2/2] Remove browser download option for vmassist.ps1 Removed instructions for downloading vmassist.ps1 from a web browser. --- .../windows-azure-guest-agent-tools-vmassist.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md b/support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md index 361ee529ba0..176d7cc8c27 100644 --- a/support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md +++ b/support/azure/virtual-machines/windows/windows-azure-guest-agent-tools-vmassist.md @@ -60,16 +60,6 @@ Set-ExecutionPolicy Bypass -Force .\vmassist.ps1 ``` -### Option 3: Download from browser - - 1. Download the ```vmassist.ps1``` file [from a web browser](https://aka.ms/vmassist). - 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: - - ```powershell -Set-ExecutionPolicy Bypass -Force -.\vmassist.ps1 - ``` - ## Analyzing output 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.