- Added support for retrieving WSL distribution listing from online sources via
Get-WslDistributionOnlinecmdlet.
- Improvements to the
Import-WslDistributionandExport-WslDistributioncmdlets.- Support importing and exporting VHD files, including importing a VHD in place.
Export-WslDistributionnow returns information about the created files, rather than the distributions.- The
-Passthruparameter has been removed from these cmdlets, and they now always return values. - Accept paths with custom PowerShell drives, as long as they use the file system provider.
- The
Invoke-WslCommandandEnter-WslDistributioncmdlets support specifying the working directory and shell type, and support the system distribution. - The
Invoke-WslCommandcmdlet supports specifying a command without quoting it, when using the-RawCommandparameter. - The
Invoke-WslCommandcmdlet supports running commands using WSLg. - Added a
Get-WslVersioncommand that returns an object with version information about WSL and its components. - The
Get-WslDistributioncmdlet no longer throws an exception if there are no installed WSL distributions; instead, it just returns no items. - Added the
WslDistribution.VhdPathproperty for WSL2 distributions. - The
WslDistribution.FileSystemPathproperty uses the\\wsl.localhostprefix instead of\\wsl$. - The module now works if the
WSL_UTF8environment variable is set. - Added aliases for several parameters on the cmdlets.
- Various bug fixes.
- This is the first release of the WSL Management PowerShell module.