PowerTip: Convert to Upper Case with PowerShell

PowerTip: Convert to Upper Case with PowerShell

  • Comments 2
  • Likes

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()

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment