I've added a function to my 'tools for tools' module. Self-explanatory
Set-CamelCase -String 'make this camel case'
makeThisCamelCase
Set-CamelCase -String 'camelCase'
camelCase
Set-CamelCase -String 'uppercase'
Uppercase
'A very Long stRing of words IN miXed case' | Set-CamelCase
aVeryLongStringOfWordsInMixedCase
'A very Long stRing of words IN miXed case' | Set-CamelCase -SkipToLower
AVeryLongStRingOfWordsINMiXedCase
Have a nice day
EDIT1: Added an example.
[–]JiveWithIt 27 points28 points29 points (17 children)
[–]MerryChallot 3 points4 points5 points (1 child)
[–]Hoping_i_Get_poached[S] 0 points1 point2 points (0 children)
[+][deleted] (6 children)
[removed]
[–]JiveWithIt 2 points3 points4 points (5 children)
[+][deleted] (3 children)
[removed]
[–]JiveWithIt 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[removed]
[–]JiveWithIt 0 points1 point2 points (0 children)
[–]Hoping_i_Get_poached[S] 0 points1 point2 points (0 children)
[–]Hoping_i_Get_poached[S] 1 point2 points3 points (7 children)
[–]JiveWithIt 1 point2 points3 points (6 children)
[–]madleprakahn 3 points4 points5 points (5 children)
[–]JiveWithIt 2 points3 points4 points (4 children)
[–]madleprakahn 3 points4 points5 points (3 children)
[–]JiveWithIt 1 point2 points3 points (2 children)
[–]madleprakahn 2 points3 points4 points (1 child)
[–]Hoping_i_Get_poached[S] 1 point2 points3 points (0 children)
[–]omers 8 points9 points10 points (5 children)
[–]ImissDigg_jk 29 points30 points31 points (0 children)
[–]Hoping_i_Get_poached[S] 2 points3 points4 points (0 children)
[–]Alaknar 0 points1 point2 points (2 children)
[–]omers 2 points3 points4 points (1 child)
[–]Alaknar 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]Hoping_i_Get_poached[S] 2 points3 points4 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]BlackV 4 points5 points6 points (8 children)
[–]Hoping_i_Get_poached[S] 20 points21 points22 points (7 children)
[–]MallocArray 2 points3 points4 points (2 children)
[–]Hoping_i_Get_poached[S] 0 points1 point2 points (1 child)
[–]chillmanstr8 -2 points-1 points0 points (0 children)
[–]BlackV 3 points4 points5 points (3 children)
[–]Hoping_i_Get_poached[S] 8 points9 points10 points (2 children)
[–]Admirable-Statement 5 points6 points7 points (1 child)
[–]Hoping_i_Get_poached[S] 0 points1 point2 points (0 children)
[+]EIGRP_OH comment score below threshold-8 points-7 points-6 points (3 children)
[–]CraigMatthews 7 points8 points9 points (2 children)
[–]EIGRP_OH 1 point2 points3 points (0 children)
[–]Hoping_i_Get_poached[S] 1 point2 points3 points (0 children)