PowerTip: Convert All Uppercase String to Lowercase

Doctor Scripto

SummaryUse Windows PowerShell to convert a string to all lowercase characters.

Hey, Scripting Guy! Question How can I use Windows PowerShell to convert a string that is in all uppercase to all lowercase characters?

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


1 comment

Discussion is closed. Login to edit/delete existing comments.

  • Daianne Pinheiro 0

    I can change the name of my domain (O365) that was recorded with uppercase letters, by letters lowercase via PowerShell?

Feedback usabilla icon