lib/utils/to-flat-case.ps1
function ToFlatCase() { param ( [Parameter(Mandatory=$true, Position=0, ValueFromPipeline = $true)] [ValidateNotNull()] [String[]] $value ) BEGIN { $str = ""; } PROCESS { $str += $value.ToLower(); } END { return $str } } |