二进制转十进制

把11111110转换为十进制:
 [System.Convert]::ToByte(11111110,2) 
原文地址:https://www.cnblogs.com/dreamer-fish/p/4384418.html