function Get-PSCUCMPhoneName {
    Get the Phone Name based on Directory Number
    Get the Phone Name based solely upon the Directory Number
    Directory Number to get a phone name of...
    .PARAMETER EnableException
    Replaces user friendly yellow warnings with bloody red exceptions of doom!
    Use this if you want the function to throw terminating errors you want to catch.
    Get-PSCUCMPhoneName -DN 1001
    Gets the phone name for Directory Number 1001

    param (
        [Parameter(Mandatory = $true)]
    $CucmAxlSplat = @{
        SqlQuery        = @'
            device, numplan, devicenumplanmap
            devicenumplanmap.fkdevice = device.pkid
            devicenumplanmap.fknumplan = numplan.pkid
            numplan.dnorpattern = "{0}"
 -f $DN
        EnableException = $EnableException
    Invoke-PSCUCMSqlQuery @CucmAxlSplat