ASCII Table in Powershell (or how get around keyboard layout mapping issues)

 

Imagine you have to connect to a Citrix server using the java client and the keyboqrd layout of the machine you’re using is not properly sert up there?

Imagine that the CItrix administrator doesn’t have the character map tool enabled.

Just use this snippet of powerhell to get a nice character list in a powershell window:

<pre class="lang:ps decode:true " title="ASCII Table">-join (32..127 |  % { [Char] $_ })

Notice how the join operator can be used with a empty left operator to concatenate strings on the same line.