Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Display Numeric ASCII Value of Letter

Summary: Use Windows PowerShell to display the numeric ASCII value of a letter. How can I use Windows PowerShell to find the numeric ASCII value associated with a letter? Use [byte] and [char] together. The following example will display the numeric ASCII value of the capital letter A:[byte][char]'A...

Feedback usabilla icon