Quantcast
Channel: PS C:\>(Get-Virtual).info » Powershell
Viewing all articles
Browse latest Browse all 20

Script of the day – testing if 2 IP addresses are on the same subnet

$
0
0
Ever needed to script around IP addressing issues on hosts and needed to determine whether 2 hosts are in fact on the same subnet or not? Try the following Function The code simply does a binary comparison of the 2 IP addresses. - much like you used to do when you first did TCPIP subnetting [...]

Viewing all articles
Browse latest Browse all 20

Trending Articles