mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
個人BLOG
it developer
  1. Main page
  2. M365
  3. Main content

powershell 获取本机public ip

2020-12-07 144hotness 0likes 0comments
$ip = Invoke-RestMethod http://ipinfo.io/json | Select -exp ip
$ipinfo = Invoke-RestMethod http://ipinfo.io/json 
$ipinfo.ip 
$ipinfo.hostname 
$ipinfo.city 
$ipinfo.region 
$ipinfo.country 
$ipinfo.loc 
$ipinfo.org

Tag: Nothing
Last updated:2020-12-07

mikebai

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang