#PSTip Converting numbers to binary and back
To convert a number to its equivalent binary string representation, use the Convert.ToString method with a base of 2. PS> [Convert]::ToString(192,2) 11000000 To convert a binary number into its decimal representation, use the Convert.
Read More