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
The **Get-WindowsUpdateLog** cmdlet merges and converts Windows Update .etl files into a single readable WindowsUpdate.log file.
25
-
Windows Update Agent uses Event Tracing for Windows (ETW) to generate diagnostic logs.
26
-
Windows Update no longer directly produces a WindowsUpdate.log file.
27
-
Instead, it produces .etl files that are not immediately readable as written.
28
25
29
-
For Windows 10 versions prior to 1709 (OS Build 16299), this cmdlet requires access to a Microsoft symbol server, and log decoding must be run from a Windows 10 version earlier than 1709. Logs from Windows 10, version 1709 onward do not require a Microsoft symbol server, and need to be decoded from Windows 10, versions 1709 or higher.
26
+
The `Get-WindowsUpdateLog` cmdlet merges and converts Windows Update `.etl` files into a single
27
+
readable `WindowsUpdate.log` file. Windows Update Agent uses Event Tracing for Windows (ETW) to
28
+
generate diagnostic logs. Windows Update no longer directly produces a `WindowsUpdate.log` file.
29
+
Instead, it produces `.etl` files that are not immediately readable as written.
30
+
31
+
For Windows 10 versions prior to 1709 (OS Build 16299), this cmdlet requires access to a Microsoft
32
+
symbol server, and log decoding must be run from a Windows 10 version earlier than 1709. Logs from
33
+
Windows 10, version 1709 onward do not require a Microsoft symbol server, and need to be decoded
34
+
from Windows 10, versions 1709 or higher.
30
35
31
36
## EXAMPLES
32
37
33
38
### Example 1: Merge and convert Windows Update trace files
39
+
40
+
```powershell
41
+
Get-WindowsUpdateLog
34
42
```
35
-
PS C:\> Get-WindowsUpdateLog
43
+
44
+
```Output
36
45
Converting C:\Windows\logs\WindowsUpdate into C:\Users\Admin\Desktop\WindowsUpdate.log
37
46
38
47
@@ -70,11 +79,13 @@ The command completed successfully.
70
79
WindowsUpdate.log written to C:\Users\admin\Desktop\WindowsUpdate.log
71
80
```
72
81
73
-
This command merges and converts Windows Update trace files (.etl files) into a single readable WindowsUpdate.log file.
82
+
This command merges and converts Windows Update trace files (`.etl` files) into a single readable
83
+
`WindowsUpdate.log` file.
74
84
75
85
## PARAMETERS
76
86
77
87
### -Confirm
88
+
78
89
Prompts you for confirmation before running the cmdlet.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
203
+
204
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
0 commit comments