Can you use Linux commands in Powershell?
Today we discuss one of a few questions a lot of sysadmins and IT Admins ask?
Can you use Linux commands in Powershell?
The Windows Subsystem for Linux (WSL) was a big step forward in this regard, allowing developers to call Linux commands from Windows via wsl.exe (e.g. wsl ls). While an improvement, the experience falls short in various ways:
- It’s inconvenient and strange to use wsl to prefix commands.
- WSL login profiles with aliases and environment variables do not honour default parameters.
- Backslashes are sometimes misinterpreted as escape characters rather than directory separators in