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