Convert Strings to Uppercase, Lowercase and Title Case in PowerShell
To convert a string to uppercase or lowercase in PowerShell, call its .ToUpper() or .ToLower() method. Both return a new string and leave the original alone: Output: Title case and camelCase take a bit more work, and one common trick behaves differently in Windows PowerShell 5.1. I ran every example in PowerShell 7.6 and 5.1. … Read more