June 23rd, 2014

PowerTip: Convert to Upper Case with PowerShell

Doctor Scripto
Scripter

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:

"string".ToUpper()

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.