Public/Format-Array.ps1
Function Format-Array { [CmdletBinding()] param ( [Parameter( Mandatory )] [array] $Array ) $Array = $Array | Sort-Object -Unique $Data = $Array -join "`" , `"" $Data = "`"" + $Data + "`"" Return $Data } |