This pull request adds a new parameter, VariableCase, to ConvertTo-SplatExpression which allows the user to choose how the function capitalizes the first letter of the variable name it creates.
This parameter accepts one of three values from a ValidateSet:
camelCase - Sets the first letter of the variable to lowercase (This is the default to match current behavior).
PascalCase - Sets the first letter of the variable to uppercase.
Unmodified - Does not change the casing and uses the same casing as the command being used to create the splat.
Please see #58
This pull request adds a new parameter,
VariableCase
, toConvertTo-SplatExpression
which allows the user to choose how the function capitalizes the first letter of the variable name it creates.This parameter accepts one of three values from a ValidateSet:
camelCase
- Sets the first letter of the variable to lowercase (This is the default to match current behavior).PascalCase
- Sets the first letter of the variable to uppercase.Unmodified
- Does not change the casing and uses the same casing as the command being used to create the splat.