You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/windows-client/windows-tss/collect-data-analyze-troubleshoot-hyperv-scenarios.md
+44-13Lines changed: 44 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,40 +24,71 @@ Refer to [Introduction to TroubleShootingScript toolset (TSS)](introduction-to-t
24
24
### TSS cmdlet
25
25
26
26
```powershell
27
-
.\TSS.ps1 -Scenario HyperV
27
+
.\TSS.ps1 -SDP HyperV
28
28
```
29
29
30
30
### TSS cmdlet description
31
31
32
32
To gather information for Hyper-V related issues, follow these steps:
33
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
34
+
1. Download [TSS](https://aka.ms/getTSS) and extract it in the *C:\\tss* folder.
35
+
2. Open the *C:\\tss* folder from an elevated PowerShell command prompt.
36
+
> [!NOTE]
37
+
> Don't use the Windows PowerShell Integrated Scripting Environment (ISE).
38
+
3. Run the following cmdlets:
39
+
40
+
```powershell
41
+
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
42
+
```
43
+
44
+
```powershell
45
+
.\TSS.ps1 -SDP HyperV
46
+
```
47
+
48
+
4. Enter *A* for "Yes to All" for the execution policy change.
49
+
50
+
> [!NOTE]
51
+
>
52
+
> - The time to collect this script on a given system may vary. It depends on system speed, system size, the number of virtual machines, the amount of data in logs, and so on. Depending on these factors, the average collection time is between 30 and 90 minutes, or even longer, especially if no skip commands are used.
53
+
> - The collection is stored in a compressed file in the *C:\\MS_DATA* folder. After a support case is created, this file can be uploaded to the secure workspace for analysis.
38
54
39
55
#### Optional parameters
40
56
41
57
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
58
43
-
- This cmdlet collect only the logs without running diagnostics.
59
+
- This cmdlet skips running the Best Practices Analyzer and makes the collection faster.
60
+
61
+
```powershell
62
+
.\TSS.ps1 -SDP HyperV -SkipSDPList skipBPA
63
+
```
64
+
65
+
- This cmdlet skips some small collection items that may fail in a regular collection and makes the script more reliable.
66
+
67
+
```powershell
68
+
.\TSS.ps1 -SDP HyperV -SkipSDPList skipHang
69
+
```
70
+
71
+
- This cmdlet skips some additional collection parameters that may not be needed.
44
72
45
73
```powershell
46
-
.\TSS.ps1 -Scenario HyperV -CollectOnly
74
+
.\TSS.ps1 -SDP HyperV -SkipSDPList skipTS
47
75
```
48
76
49
-
- This cmdlet prevents uploading the collected data to Microsoft.
77
+
- This cmdlet skips testing Server Message Block (SMB) connectivity to any Cluster Shared Volumes (CSVs) in the failover cluster.
50
78
51
79
```powershell
52
-
.\TSS.ps1 -Scenario HyperV -NoUpload
80
+
.\TSS.ps1 -SDP HyperV -SkipSDPList skipCsvSMB
53
81
```
54
82
55
-
- This cmdlet specifies the output folder for the collected data.
83
+
- This cmdlet skips any data collection related to Hyper-V Replica data and slightly speeds up the collection process.
56
84
57
85
```powershell
58
-
.\TSS.ps1 -Scenario HyperV -OutputPath <path>
86
+
.\TSS.ps1 -SDP HyperV -SkipSDPList skipHVreplica
59
87
```
60
88
61
89
> [!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.
90
+
> You can combine multiple skip parameters with comma-separated items, such as the following example:
0 commit comments