Work with Numbers As Binary

1. Problem
You want to work with the individual bits of a number, or work with a number built by combining a series of flags.
2. Solution
To directly enter a hexadecimal number, use the 0x prefix:
        PS >$hexNumber = 0×1234
        PS >$hexNumber
        4660

To convert a number to its binary representation, supply a base of 2 to the [...]