July 23rd, 2014

PowerTip: Use PowerShell to Determine ASCII Value

Doctor Scripto
Scripter

Summary: Learn to use Windows PowerShell to determine the ASCII numeric value of a character.

Hey, Scripting Guy! Question How can I use Windows PowerShell to tell the ASCII value of a character?

Hey, Scripting Guy! Answer You can get the numeric value of an ASCII character quite easily, for example,
           to get the value of the lowercase letter a, type:

[byte][char]'a'

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.