PowerTip: Use PowerShell to Determine ASCII Value

Doctor Scripto

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'

0 comments

Discussion is closed.

Feedback usabilla icon