小白龙 当前在线
少尉
Get-NetIPAddress | Where-Object { $_.AddressFamily -eq 'IPv4' -and $_.InterfaceAlias -ne 'Loopback Pseudo-Interface 1' } | Select-Object -ExpandProperty IPAddress复制代码
penrcz 当前离线
列兵
(Get-NetIPAddress -AddressState Preferred -AddressFamily IPv6 -PrefixLength 64 -PrefixOrigin RouterAdvertisement).IPAddress复制代码
TOP
(Get-NetIPAddress -AddressState Preferred -AddressFamily IPv4 -PrefixLength 24).IPAddress复制代码
flashercs 当前离线
少校
Get-NetRoute -DestinationPrefix '0.0.0.0/0'|Get-NetIPAddress -AddressState Preferred -AddressFamily IPv4 -ErrorAction SilentlyContinue|Select-Object -ExpandProperty IPAddress复制代码
评分人数
Get-NetRoute -DestinationPrefix '0.0.0.0/0'|Get-NetIPAddress -AddressState Preferred -ErrorAction SilentlyContinue|Select-Object -ExpandProperty IPAddress复制代码