function Get-ITDVMSharePointCmdbDiff {
    [CmdletBinding()]
    param (
        [string]
        $FQDN
    )
    
    begin {
        
    }
    
    process {
        $SPItem = Get-ITDVMwareSharePointVMGuestList | Where-Object { $_.Status -ne "Delete" -and $_.Status -ne "Deleted" } | Where-Object { $_.Title -eq $FQDN }
        
        $Cmdb = $null
        $Hostname = $null
        $obj = $null

        $Hostname = $SPItem.Title.split('.')[0]
        $Cmdb = Get-ITDServiceNowRecord -Table cmdb_ci_server -Filter "name=$HostName"
        
        $obj = [PSCustomObject]@{
            SpPTitle                  = $SPItem.Title;
            CmdbHostName              = $Cmdb.name.display_value;
            SpEnvironment             = $SPItem.Environment;
            CmdbEnvironment           = $Cmdb.environment.display_value;
            SpAppName                 = $SPItem.AppName;
            CmdbAppName               = $Cmdb.u_nd_application_svc.display_value;
            SpLicensingRestrictions   = $SPItem.LicensingRestrictions;
            CmdbLicensingRestrictions = $Cmdb.u_nd_licensing_restrictions.display_value;
            SpDR_Protection           = $SPItem.DR_Protection;;
            CmdbDR_Protection         = $Cmdb.u_nd_dr_protection.display_value;
            SpSRMRecoveryType         = $SPItem.SRM_RecoveryVMtype;
            CmdbSRMRecoveryType       = $Cmdb.u_srm_recovery_type.display_value;
        }
    }
    
    end {
        Write-Output $obj
    }
}