PowerTip: Convert to Upper Case with PowerShell

Doctor 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:

"string".ToUpper()

0 comments

Discussion is closed.

Feedback usabilla icon