Export/import compressed WSL2 distros

What you want works perfectly fine. In Command Prompt.

Pipes in PowerShell are not sane when non-Cmdlets are involved. Do not use them. If you want to script in PowerShell, use cmd /c "whatever" to escape to Command Prompt for a single command.