Revised efforts based on supplied answers:
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> Get-Content ./case.csv | ForEach-Object ToUpper
FJKDLA,W
FKDSLAJF,FDJK;A
NLK;NBF;SDJF,DGDF
VNL;KKDF,BGNGFN
NVCL;V,RGS
NVKL;,THRN
VLKDF,TMMJYMF
FJDK,FDJK;A
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> Get-Content ./case.csv | ForEach-Object ToLower
fjkdla,w
fkdslajf,fdjk;a
nlk;nbf;sdjf,dgdf
vnl;kkdf,bgngfn
nvcl;v,rgs
nvkl;,thrn
vlkdf,tmmjymf
fjdk,fdjk;a
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> $TextInfo = (New-Object System.Globalization.CultureInfo("en-US")).TextInfo;
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> Get-Content ./case.csv | ForEach-Object ToTitleCase
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> pwsh --version
PowerShell 7.3.4
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 23.04
Release: 23.04
Codename: lunar
PS /home/nicholas/powershell>
My main concern is more converting to TitleCase, and, ideally, from the REPL console rather than a script file. I haven't been able update efforts on targeting a specific column.
By the REPL console I mean the interactive shell, if that makes sense.
All answers and comments have been extremely helpful and appreciated.
additional info:
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> Get-Culture
LCID Name DisplayName
---- ---- -----------
1033 en-US English (United States)
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> (Get-Culture).TextInfo.ToTitleCase($_.fjkdla)
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> (Get-Culture).TextInfo.ToTitleCase("hmm")
Hmm
PS /home/nicholas/powershell>
Which looks to be the desired output for a single string. Not sure how to iterate the CSV file above from the console, however.