Convert the content of a file to uppercase:
Get-Content C:\path\to\file.txt | ForEach-Object { $_.ToUpper() } | Set-Content C:\path\to\uppercasefile.txt
Last updated 1 year ago
Was this helpful?