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

This commit is contained in:
Blue 2023-01-06 19:16:02 +00:00 committed by GitHub
parent 39802eac61
commit 44fbc2446d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,7 @@ if (Test-Path $wslconfig)
get-appxpackage MicrosoftCorporationII.WindowsSubsystemforLinux > $folder/appxpackage.txt
get-acl "C:\ProgramData\Microsoft\Windows\WindowsApps" -ErrorAction Ignore | Format-List > $folder/acl.txt
Get-WindowsOptionalFeature -Online > $folder/optional-components.txt
wpr.exe -start $LogProfile -filemode