Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 3 additions & 15 deletions vmassist/windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,19 @@ Set-ExecutionPolicy Bypass -Force
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
(Invoke-WebRequest -Uri https://aka.ms/vmassist -OutFile vmassist.ps1) | .\vmassist.ps1
```
Or 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
```

## Manual download and run
Download:
```powershell
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -Uri https://aka.ms/vmassist -OutFile vmassist.ps1
```
Or 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
```

Run the script:
```powershell
Set-ExecutionPolicy Bypass -Force
.\vmassist.ps1
```
## Download from browser
1. Download the file ```vmassist.ps1``` [from a web browser.](https://github.com/Azure/azure-support-scripts/blob/master/vmassist/windows/vmassist.ps1)
1. From an elevated PowerShell window, ensure you're in the same directory that you downloaded the script to, then run the following to run the script:
```powershell
Set-ExecutionPolicy Bypass -Force
.\vmassist.ps1
```

# Analyzing output

Expand All @@ -59,3 +45,5 @@ The .log file will have a copy of the results that are displayed in the PowerShe
The .htm file is a report that shows all of the checks and findings along with information on how to mitigate any issues it found. It will also have additional information about the OS and the VM that can further assist in troubleshooting any issues that are found.

If you open a support request, please include both of the above files to aid your support representative in helping you.