Scripting Blog

A place to learn about PowerShell and share stories of automation

Weekend Scripter: PowerShell ASCII Bar Charts

Summary: Microsoft PFE, Wei Hao Lim, presents a script that creates ASCII bar charts. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a new guest blogger. Please welcome Wei Hao Lim. Wei is a Microsoft PFE from Australia who works primarily with enterprise customers helping to configure, deploy, maintain, and customize System Center...

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...

Generate Random Letters with PowerShell

Summary: Ed Wilson, Microsoft Scripting Guy, talks about generating random letters with Windows PowerShell.  Hey, Scripting Guy! I need to generate a string of random letters. These letters need to be five characters long, and they should be either upper case or lower case. I do not need any numbers or special characters. In fact, my ...

Feedback usabilla icon