microsoft / microsoft/WSL

"wsl --manage --print-status" '/feature'

Open
#40,483 7 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

**Is your feature request related to a problem? Please describe.**
The command `wsl --manage` provides useful tweaks. However, we can't show the current status.

**Describe the solution you'd like**
The simple command `wsl --manage --print-status` will print all the parameters that we can change using the command.

**Describe alternatives you've considered**
No alternatives exists. We need a lot of code to obtain the data that we can change using the command: distro path, type of VHDX, etc.

**Additional context**
This command will be a must have. We need this information. An alternative `wsl --manage --print-status --json` variant printing the data in JSON format will be useful.

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing `wsl --manage` command and its handling of changeable parameters. Determine how the distro path, VHDX type, and other adjustable values can be obtained, then verify that `wsl --manage --print-status` reports them; JSON output is an additional proposed variant.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.