convertTo-CamelCase -inputString "my example"
MyExample
User lowerCamelCase too (where the first letter is lowercase)
convertTo-LowerCamelCase -inputString "My name with spaces"
myNameWithSpaces
Convert from pipeline
"My-name-with-dashes and spaces" | convertTo-LowerCamelCase
myNameWithDashesAndSpaces
Use Multiple characters as delimiters.
convertTo-LowerCamelCase -inputString "My-name-with-dashes and spaces" -deliminator " ", "-"
myNameWithDashesAndSpaces