mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-09 09:48:21 +02:00
Update list-network-neighbors.ps1
This commit is contained in:
parent
af92a2972d
commit
5731ff7a5f
@ -22,7 +22,7 @@ try {
|
||||
} elseif ($IsMacOS) {
|
||||
& ip neigh
|
||||
} else {
|
||||
Get-NetNeighbor -includeAllCompartments | Format-Table -property InterfaceAlias,IPAddress,LinkLayerAddress,State -autoSize
|
||||
Get-NetNeighbor -includeAllCompartments | Format-Table -property @{e='IPAddress';width=38},@{e='InterfaceAlias';width=14},@{e='LinkLayerAddress';width=19},@{e='State';width=12}
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
|
Loading…
Reference in New Issue
Block a user