Microsoft Developer Shows Linux Commands Seamlessly Integrated Within Windows PowerShell

Written by Michael Larabel in Microsoft on 26 September 2019 at 03:48 PM EDT. 32 Comments
While Windows itself has begun offering Tar and OpenSSH support among other integration improvements for traditional Linux administrators, it's possible to seamlessly integrate Linux commands within the PowerShell thanks to some features of PowerShell intermixed with Microsoft's Windows Subsystem for Linux.

Microsoft developer Mike Battista has outlined how to provide better integration of Linux commands within PowerShell. From PowerShell one can already prefix commands to pass-through to WSL via the "wsl " command but the integration can be even better with better handling of paths, support for Linux command/argument completion, and similar functionality.

Via PowerShell with its support for function wrappers is how the Linux command integration can be vastly improved to feel like a native Linux command/shell experience straight from PowerShell.

If you are curious, see this Microsoft Developer Blog Post. The PowerShell function wrappers making this integration a reality are hosted on GitHub as PowerShell-WSL-Interop. It will be interesting to see in the future if they end up offering this level of integration or other enhancements in this area by default.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week