Convert Binary Subnet Mask to Decimal

This script demonstrates using the System.Convert .NET Framework class to convert from a binary number, into decimal format. It uses  a counter variable to keep track of decimal placement. As each number passes over the pipeline, I store the converted value in the $a variable. I

Add to favorites
E-mail Twitter Digg Facebook