Here is how you convert a binary text string into the corresponding integer value:
$binary = "110110110"
$int = [Convert]::ToInt32($binary,2)
Going the other way is even easier:
ReTweet this Tip!
Powered by IDERA