Reading time: 6 – 9 minutes
Nothing else than what the title says. Simple PowerShell script for dumping the IP address:
wsl -- ip -o -4 -json addr list eth0 ` | ConvertFrom-Json ` | %{ $_.addr_info.local } ` | ?{ $_ }