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