Public/Get-MetaDataTags.ps1

Function Get-MetaDataTags {
    <#
.SYNOPSIS
    This Function converts a string into comma separated metadata tages for ServiceNow Knowledge Articles
 
.NOTES
    Name: Get-MetaDataTags
    Author: Luke Hagar
    Version: 1.0
    DateCreated: 5/13/2021
 
.EXAMPLE
    Get-MetaDataTags "The Paragraph you want to make tags out of"
 
#>

    [CmdletBinding()]
    param (
        [Parameter(
            Mandatory
        )]
        [string]
        $block
    )
    $Words = $block -split " "
    $Result = $Words -join ", "
    Return $Result
}