PowerTip: Convert to Upper Case with PowerShell

Doctor Scripto

Dr Scripto

Summary: Learn how to use Windows PowerShell to easily capitalize a string.

Hey, Scripting Guy! Question How can I use Window PowerShell to make all the text upper case so it is all in the
          same form prior to writing to a database?

Hey, Scripting Guy! Answer Use the ToUpper method from the String class:


Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   


    Leave a comment