Calculate directed broadcast address given IP address and subnet in PowerShell
Posted
by halr9000
on Stack Overflow
See other posts from Stack Overflow
or by halr9000
Published on 2010-05-03T19:08:54Z
Indexed on
2010/06/02
14:54 UTC
Read the original article
Hit count: 750
My goal is to calculate the directed broadcast address when given the IP and subnet mask of a host node. I know, sounds like homework. Once I reasoned through my task and boiled it down to this, I was amused with myself. Anyway, the solution will look something like the one in this question I suppose, but I'm not a math major and my C sucks. I could do with a PowerShell (preferred) or C# example to get me going.
thanks!
© Stack Overflow or respective owner