Private/Get-LicenseFriendlyName.ps1

function Get-LicenseFriendlyName {
    <#
    .SYNOPSIS
        Maps Microsoft 365 SKU Part Numbers to friendly names and estimated monthly costs.
    .DESCRIPTION
        Returns a hashtable keyed by SKU Part Number. Each entry contains a FriendlyName
        and EstimatedMonthlyCost based on published list pricing. Actual costs may differ
        under Enterprise Agreement (EA) or Cloud Solution Provider (CSP) agreements.
    .OUTPUTS
        System.Collections.Hashtable
    .NOTES
        Costs are approximate list prices per user per month (USD). Update as pricing changes.
    #>

    [CmdletBinding()]
    param()

    @{
        # Microsoft 365 suites
        'SPE_E5'                      = @{ FriendlyName = 'Microsoft 365 E5';                   EstimatedMonthlyCost = 57.00 }
        'SPE_E3'                      = @{ FriendlyName = 'Microsoft 365 E3';                   EstimatedMonthlyCost = 36.00 }
        'SPE_F1'                      = @{ FriendlyName = 'Microsoft 365 F1';                   EstimatedMonthlyCost =  2.25 }
        'Microsoft_365_E5'            = @{ FriendlyName = 'Microsoft 365 E5';                   EstimatedMonthlyCost = 57.00 }
        'Microsoft_365_E3'            = @{ FriendlyName = 'Microsoft 365 E3';                   EstimatedMonthlyCost = 36.00 }

        # Office 365 suites
        'ENTERPRISEPACK'              = @{ FriendlyName = 'Office 365 E3';                      EstimatedMonthlyCost = 23.00 }
        'ENTERPRISEPREMIUM'           = @{ FriendlyName = 'Office 365 E5';                      EstimatedMonthlyCost = 38.00 }
        'ENTERPRISEWITHSCAL'          = @{ FriendlyName = 'Office 365 E4';                      EstimatedMonthlyCost = 23.00 }
        'DESKLESSPACK'                = @{ FriendlyName = 'Office 365 F3';                      EstimatedMonthlyCost =  4.00 }
        'STANDARDPACK'                = @{ FriendlyName = 'Office 365 E1';                      EstimatedMonthlyCost =  8.00 }

        # Exchange Online
        'EXCHANGESTANDARD'            = @{ FriendlyName = 'Exchange Online Plan 1';             EstimatedMonthlyCost =  4.00 }
        'EXCHANGEENTERPRISE'          = @{ FriendlyName = 'Exchange Online Plan 2';             EstimatedMonthlyCost =  8.00 }
        'EXCHANGEESSENTIALS'          = @{ FriendlyName = 'Exchange Online Essentials';         EstimatedMonthlyCost =  2.00 }
        'EXCHANGE_S_ESSENTIALS'       = @{ FriendlyName = 'Exchange Online Essentials';         EstimatedMonthlyCost =  2.00 }
        'EXCHANGEARCHIVE_ADDON'       = @{ FriendlyName = 'Exchange Online Archiving';          EstimatedMonthlyCost =  3.00 }
        'EXCHANGEDESKLESS'            = @{ FriendlyName = 'Exchange Online Kiosk';              EstimatedMonthlyCost =  2.00 }

        # SharePoint / OneDrive
        'SHAREPOINTSTANDARD'          = @{ FriendlyName = 'SharePoint Online Plan 1';           EstimatedMonthlyCost =  5.00 }
        'SHAREPOINTENTERPRISE'        = @{ FriendlyName = 'SharePoint Online Plan 2';           EstimatedMonthlyCost = 10.00 }

        # Teams
        'TEAMS_EXPLORATORY'           = @{ FriendlyName = 'Microsoft Teams Exploratory';        EstimatedMonthlyCost =  0.00 }
        'Microsoft_Teams_Audio_Conferencing' = @{ FriendlyName = 'Teams Audio Conferencing';    EstimatedMonthlyCost =  4.00 }
        'MCOEV'                       = @{ FriendlyName = 'Teams Phone System';                 EstimatedMonthlyCost =  8.00 }
        'MCOPSTN1'                    = @{ FriendlyName = 'Teams Domestic Calling Plan';        EstimatedMonthlyCost = 12.00 }

        # Power Platform
        'POWER_BI_STANDARD'           = @{ FriendlyName = 'Power BI Free';                     EstimatedMonthlyCost =  0.00 }
        'POWER_BI_PRO'                = @{ FriendlyName = 'Power BI Pro';                       EstimatedMonthlyCost = 10.00 }
        'POWER_BI_PREMIUM_PER_USER'   = @{ FriendlyName = 'Power BI Premium Per User';          EstimatedMonthlyCost = 20.00 }

        # Security and Compliance
        'ATP_ENTERPRISE'              = @{ FriendlyName = 'Microsoft Defender for Office 365 P1'; EstimatedMonthlyCost = 2.00 }
        'THREAT_INTELLIGENCE'         = @{ FriendlyName = 'Microsoft Defender for Office 365 P2'; EstimatedMonthlyCost = 5.00 }
        'IDENTITY_THREAT_PROTECTION'  = @{ FriendlyName = 'Microsoft 365 E5 Security';         EstimatedMonthlyCost = 12.00 }
        'INFORMATION_PROTECTION_COMPLIANCE' = @{ FriendlyName = 'Microsoft 365 E5 Compliance';  EstimatedMonthlyCost = 12.00 }
        'EMS_E5'                      = @{ FriendlyName = 'Enterprise Mobility + Security E5';  EstimatedMonthlyCost = 16.00 }
        'EMS_E3'                      = @{ FriendlyName = 'Enterprise Mobility + Security E3';  EstimatedMonthlyCost = 10.60 }
        'AAD_PREMIUM'                 = @{ FriendlyName = 'Entra ID P1';                        EstimatedMonthlyCost =  6.00 }
        'AAD_PREMIUM_P2'              = @{ FriendlyName = 'Entra ID P2';                        EstimatedMonthlyCost =  9.00 }
        'INTUNE_A'                    = @{ FriendlyName = 'Microsoft Intune Plan 1';            EstimatedMonthlyCost =  8.00 }

        # Visio / Project
        'VISIOCLIENT'                 = @{ FriendlyName = 'Visio Plan 2';                       EstimatedMonthlyCost = 15.00 }
        'VISIO_PLAN1_DEPT'            = @{ FriendlyName = 'Visio Plan 1';                       EstimatedMonthlyCost =  5.00 }
        'PROJECTPREMIUM'              = @{ FriendlyName = 'Project Plan 5';                     EstimatedMonthlyCost = 55.00 }
        'PROJECTPROFESSIONAL'         = @{ FriendlyName = 'Project Plan 3';                     EstimatedMonthlyCost = 30.00 }
        'PROJECT_P1'                  = @{ FriendlyName = 'Project Plan 1';                     EstimatedMonthlyCost = 10.00 }

        # Business plans
        'O365_BUSINESS_ESSENTIALS'    = @{ FriendlyName = 'Microsoft 365 Business Basic';       EstimatedMonthlyCost =  6.00 }
        'O365_BUSINESS_PREMIUM'       = @{ FriendlyName = 'Microsoft 365 Business Standard';    EstimatedMonthlyCost = 12.50 }
        'SMB_BUSINESS_PREMIUM'        = @{ FriendlyName = 'Microsoft 365 Business Premium';     EstimatedMonthlyCost = 22.00 }
        'SMB_BUSINESS'                = @{ FriendlyName = 'Microsoft 365 Apps for Business';    EstimatedMonthlyCost = 12.50 }
        'OFFICESUBSCRIPTION'          = @{ FriendlyName = 'Microsoft 365 Apps for Enterprise';  EstimatedMonthlyCost = 12.00 }

        # Copilot
        'Microsoft_365_Copilot'       = @{ FriendlyName = 'Microsoft 365 Copilot';              EstimatedMonthlyCost = 30.00 }

        # Other add-ons
        'STREAM'                      = @{ FriendlyName = 'Microsoft Stream';                   EstimatedMonthlyCost =  0.00 }
        'FLOW_FREE'                   = @{ FriendlyName = 'Power Automate Free';                EstimatedMonthlyCost =  0.00 }
        'POWERAPPS_VIRAL'             = @{ FriendlyName = 'Power Apps Trial';                   EstimatedMonthlyCost =  0.00 }
        'RIGHTSMANAGEMENT_ADHOC'      = @{ FriendlyName = 'Rights Management Adhoc';            EstimatedMonthlyCost =  0.00 }
    }
}