Add information on the optional components in collect-wsl-logs.ps1 (#9447)

Blue committed Jan 6, 2023 at 19:16 UTC 44fbc2446d6d4bedcedf74e1989c5fd4e5df5ab0
1 file changed +1
diagnostics/collect-wsl-logs.ps1
+1
@@ -35,6 +35,7 @@ if (Test-Path $wslconfig)
35
36 get-appxpackage MicrosoftCorporationII.WindowsSubsystemforLinux > $folder/appxpackage.txt
37 get-acl "C:\ProgramData\Microsoft\Windows\WindowsApps" -ErrorAction Ignore | Format-List > $folder/acl.txt
38 +Get-WindowsOptionalFeature -Online > $folder/optional-components.txt
39
40 wpr.exe -start $LogProfile -filemode
41