Skip to content

Commit c7868c9

Browse files
committed
updates
1 parent ffd34a0 commit c7868c9

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Collect data to analyze and troubleshoot Hyper-V scenarios
3+
description: This article describes how to gather information by using the Microsoft Troubleshooting Support Script (TSS) for Hyper-V related issues.
4+
ms.date: 10/16/2025
5+
manager: dcscontentpm
6+
audience: itpro
7+
ms.topic: troubleshooting
8+
ms.reviewer: kaushika, warrenw
9+
ms.custom: sap:Support Tools\TSS
10+
appliesto:
11+
- <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Supported versions of Windows Client</a>
12+
- <a href=https://learn.microsoft.com/windows/release-health/windows-server-release-info target=_blank>Supported versions of Windows Server</a>
13+
---
14+
# Collect data to analyze and troubleshoot Hyper-V scenarios
15+
16+
This article describes how to gather information by using the Microsoft Troubleshooting Support Script (TSS) for Hyper-V related issues.
17+
18+
## Prerequisites
19+
20+
Refer to [Introduction to TroubleShootingScript toolset (TSS)](introduction-to-troubleshootingscript-toolset-tss.md#prerequisites) for prerequisites for the toolset to run properly.
21+
22+
## Scenario: Virtualization and Hyper-V
23+
24+
### TSS cmdlet
25+
26+
```powershell
27+
.\TSS.ps1 -Scenario HyperV
28+
```
29+
30+
### TSS cmdlet description
31+
32+
To gather information for Hyper-V related issues, follow these steps:
33+
34+
1. Download the latest version of the TSS tool from the Microsoft website.
35+
2. Open an elevated PowerShell window.
36+
3. Navigate to the folder where the TSS tool is located.
37+
4. Run the command
38+
39+
#### Optional parameters
40+
41+
You can use the following optional parameters with the TSS tool. These optional parameters can perform a quicker and more streamlined collection, which may help the script finish successfully if a certain section stops responding.
42+
43+
- This cmdlet collect only the logs without running diagnostics.
44+
45+
```powershell
46+
.\TSS.ps1 -Scenario HyperV -CollectOnly
47+
```
48+
49+
- This cmdlet prevents uploading the collected data to Microsoft.
50+
51+
```powershell
52+
.\TSS.ps1 -Scenario HyperV -NoUpload
53+
```
54+
55+
- This cmdlet specifies the output folder for the collected data.
56+
57+
```powershell
58+
.\TSS.ps1 -Scenario HyperV -OutputPath <path>
59+
```
60+
61+
> [!NOTE]
62+
> The TSS tool may take several minutes to complete depending on the system configuration and the amount of data being collected.
63+
> After the tool finishes running, it creates a compressed file (.zip) that contains all the collected information.

0 commit comments

Comments
 (0)