- Added support for retrieving WSL distribution listing from online sources via
Get-WslDistributionOnline
cmdlet.
- Improvements to the
Import-WslDistribution
andExport-WslDistribution
cmdlets.- Support importing and exporting VHD files, including importing a VHD in place.
Export-WslDistribution
now returns information about the created files, rather than the distributions.- The
-Passthru
parameter 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-WslCommand
andEnter-WslDistribution
cmdlets support specifying the working directory and shell type, and support the system distribution. - The
Invoke-WslCommand
cmdlet supports specifying a command without quoting it, when using the-RawCommand
parameter. - The
Invoke-WslCommand
cmdlet supports running commands using WSLg. - Added a
Get-WslVersion
command that returns an object with version information about WSL and its components. - The
Get-WslDistribution
cmdlet no longer throws an exception if there are no installed WSL distributions; instead, it just returns no items. - Added the
WslDistribution.VhdPath
property for WSL2 distributions. - The
WslDistribution.FileSystemPath
property uses the\\wsl.localhost
prefix instead of\\wsl$
. - The module now works if the
WSL_UTF8
environment 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.