Secondary menu

Skip to primary content
Skip to secondary content
  • Podcast & Screencast
  • Wiki
  • My Tweets
  • About me

oriolrius.cat

Oriol Rius :: Technology : Crecimiento Personal : Mussol

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • technology
  • crecimiento personal
  • mussol

Tag Archives: wsl

Sep 15

Get the IP address of the WSL2 in Windows 10

Posted on 2022/09/15 by Oriol Rius
Reading time: < 1 minute

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 } `
| ?{ $_ }

Posted in System administration, Databases, Messaging and Security, technology | Tagged address, ip, linux, windows, wsl, wsl2 | Leave a reply
Creative Commons Attribution-Share Alike 2.5 Spain License.
Creative Commons License
© 2023 oriolrius.cat
Admired Theme