Skip to content

wsl ~ does not work in PowerShell #2602

Description

Type of issue

Code doesn't work

Feedback

The page claims that "The WSL commands below are listed in a format supported by PowerShell or Windows Command Prompt" but wsl ~ does not work in PowerShell as it expands the ~ before wsl.exe can process it.

Page URL

https://learn.microsoft.com/en-us/windows/wsl/basic-commands

Content source URL

https://github.com/MicrosoftDocs/wsl/blob/main/WSL/basic-commands.md

Author

John Kennedy (@GrantMeStrength)

Document Id

ea2f6a7b-28f2-2af8-e8fc-7f7b3624f88a

Platform Id

a95265c3-2b0d-5570-4652-4ab09e8eca35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions