Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,13 @@ PowerShell script for rescue-VM scenarios that collects Windows troubleshooting

- PowerShell 5.1 or higher
- **Run from an elevated (Run as administrator) PowerShell console**
- The broken VM OS disk must already be attached to the rescue VM
- **Run from a *working* machine — an Azure rescue VM or a Hyper-V host — not from the broken VM itself**
- The broken VM's OS disk must already be attached to that working machine as an **offline data disk**

## Usage

> **Where to run this:** Execute the script on a working host that has the broken disk attached — an Azure **rescue VM** or a **Hyper-V host** with the broken VM's OS disk mounted as an offline data disk. The script reads the broken disk offline; it is **not** run on the broken VM.

From an elevated PowerShell console:

```powershell
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Run from a WORKING machine (Azure rescue VM or Hyper-V host) that has the broken VM's OS disk attached as an offline data disk. Do NOT run on the broken VM.
[CmdletBinding(SupportsShouldProcess)]
param(
[Parameter(Mandatory = $false)]
Expand Down