Update host_info.ps1

This commit is contained in:
agreenbhm 2015-02-18 11:53:03 -05:00
parent 2557e5f3f8
commit a1f6bfb1f2
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
$ErrorAction = "Stop"
$net = Get-NetIPAddress
$net = Get-NetIPAddress | Where-Object {($_.IPAddress -ne "127.0.0.1") -and ($_.IPAddress -ne "::1")}
$result = @{
ip_addresses = $net.IPAddress
}