Skip to content

Instantly share code, notes, and snippets.

@matt2005
Created July 4, 2018 16:01
Show Gist options
  • Save matt2005/441ee8a91f77e66711e3d29cfd0b4fcb to your computer and use it in GitHub Desktop.
Save matt2005/441ee8a91f77e66711e3d29cfd0b4fcb to your computer and use it in GitHub Desktop.
Lookup for O365 SKU to display name
function LookupO365Sku
{
[CmdletBinding()]
param
(
[string]
$Sku
)
$skus = [Ordered] @{
AAD_BASIC = 'Azure Active Directory Basic'
AAD_PREMIUM = 'Azure Active Directory Premium'
ATA = 'Advanced Threat Analytics'
ATP_ENTERPRISE = 'Exchange Online Advanced Threat Protection'
BI_AZURE_P1 = 'Power BI Reporting and Analytics'
BI_AZURE_P2 = 'Power BI Pro'
CRMINSTANCE = 'Dynamics CRM Online Additional Production Instance'
CRMIUR = 'CRM for Partners'
CRMPLAN1 = 'Dynamics CRM Online Essential'
CRMPLAN2 = 'Dynamics CRM Online Basic'
CRMSTANDARD = 'CRM Online'
CRMSTORAGE = 'Dynamics CRM Online Additional Storage'
CRMTESTINSTANCE = 'CRM Test Instance'
DESKLESS = 'Microsoft StaffHub'
DESKLESSPACK = 'Office 365 (Plan K1)'
DESKLESSPACK_GOV = 'Office 365 (Plan K1) for Government'
DESKLESSPACK_YAMME = 'Office 365 (Plan K1) with Yammer'
DESKLESSWOFFPACK = 'Office 365 (Plan K2)'
DESKLESSWOFFPACK_GOV = 'Office 365 (Plan K2) for Government'
DYN365_ENTERPRISE_P1_IW = 'Dynamics 365 P1 Trial for Information Workers'
DYN365_ENTERPRISE_PLAN1 = 'Dynamics 365 Customer Engagement Plan Enterprise Edition'
DYN365_ENTERPRISE_SALES = 'Dynamics Office 365 Enterprise Sales'
DYN365_ENTERPRISE_TEAM_MEMBERS = 'Dynamics 365 For Team Members Enterprise Edition'
DYN365_FINANCIALS_BUSINESS_SKU = 'Dynamics 365 for Financials Business Edition'
DYN365_FINANCIALS_TEAM_MEMBERS_SKU = 'Dynamics 365 for Team Members Business Edition'
ECAL_SERVICES = 'ECAL'
EMS = 'Enterprise Mobility Suite'
ENTERPRISEPACK = 'Office 365 (Plan E3)'
ENTERPRISEPACK_B_PILOT = 'Office 365 (Enterprise Preview)'
ENTERPRISEPACK_FACULTY = 'Office 365 (Plan A3) for Faculty'
ENTERPRISEPACK_GOV = 'Office 365 (Plan G3) for Government'
ENTERPRISEPACK_STUDENT = 'Office 365 (Plan A3) for Students'
ENTERPRISEPACKLRG = 'Office 365 (Plan E3)'
ENTERPRISEPACKWSCAL = 'Office 365 (Plan E4)'
ENTERPRISEPREMIUM = 'Enterprise E5 (with Audio Conferencing)'
ENTERPRISEPREMIUM_NOPSTNCONF = 'Office 365 (Plan E5) Without PSTN'
ENTERPRISEWITHSCAL = 'Office 365 (Plan E4)'
ENTERPRISEWITHSCAL_FACULTY = 'Office 365 (Plan A4) for Faculty'
ENTERPRISEWITHSCAL_GOV = 'Office 365 (Plan G4) for Government'
ENTERPRISEWITHSCAL_STUDENT = 'Office 365 (Plan A4) for Students'
EOP_ENTERPRISE = 'Exchange Online Protection'
EOP_ENTERPRISE_FACULTY = 'Exchange Online Protection for Faculty'
EQUIVIO_ANALYTICS = 'Office 365 Advanced eDiscovery'
ESKLESSWOFFPACK_GOV = 'Office 365 (Plan K2) for Government'
EXCHANGE_ANALYTICS = 'Delve Analytics'
EXCHANGE_L_STANDARD = 'Exchange Online (Plan 1)'
EXCHANGE_S_ARCHIVE_ADDON_GOV = 'Exchange Online Archiving for Government'
EXCHANGE_S_DESKLESS = 'Exchange Online Kiosk'
EXCHANGE_S_DESKLESS_GOV = 'Exchange Kiosk for Government'
EXCHANGE_S_ENTERPRISE = 'Exchange Online (Plan 2)'
EXCHANGE_S_ENTERPRISE_GOV = 'Exchange (Plan G2) for Government'
EXCHANGE_S_STANDARD = 'Exchange Online (Plan 2)'
EXCHANGE_S_STANDARD_MIDMARKET = 'Exchange Online (Plan 1)'
EXCHANGEARCHIVE = 'Exchange Online Archiving'
EXCHANGEARCHIVE_ADDON = 'Exchange Online Archiving for Exchange Online'
EXCHANGEDESKLESS = 'Exchange Online Kiosk'
EXCHANGEENTERPRISE = 'Exchange Online (Plan 2)'
EXCHANGEENTERPRISE_GOV = 'Office 365 Exchange Online (Plan 2) for Government'
EXCHANGESTANDARD = 'Exchange Online (Plan 1)'
EXCHANGESTANDARD_GOV = 'Office 365 Exchange Online (Plan 1) for Government'
EXCHANGESTANDARD_STUDENT = 'Exchange Online (Plan 1) for Students'
EXCHANGETELCO = 'Exchange Online POP'
FLOW_FREE = 'Microsoft Flow'
FLOW_P1 = 'Microsoft Flow Plan 1'
FLOW_P2 = 'Microsoft Flow Plan 2'
INTUNE_A = 'Intune for Office 365'
INTUNE_A_VL = 'Intune (Volume License)'
INTUNE_O365 = 'INTUNE'
INTUNE_STORAGE = 'Intune Extra Storage'
IT_ACADEMY_AD = 'Microsoft Imagine Academy'
LITEPACK = 'Office 365 (Plan P1)'
LITEPACK_P2 = 'Office 365 Small Business Premium'
LOCKBOX = 'Customer Lockbox'
LOCKBOX_ENTERPRISE = 'Customer Lockbox'
MCOEV = 'Skype for Business Cloud PBX'
MCOIMP = 'Skype for Business Online (Plan 1)'
MCOLITE = 'Skype for Business Online (Plan 1)'
MCOMEETADV = 'Skype for Business PSTN Conferencing'
MCOPLUSCAL = 'Skype for Business Plus CAL'
MCOPSTN1 = 'Skype for Business PSTN Domestic Calling Plan'
MCOPSTN2 = 'Skype for Business PSTN Domestic and International Calling plan'
MCOPSTNC = 'Skype for Business Communication Credits - None?'
MCOPSTNPP = 'Skype for Business Communication Credits - Paid?'
MCOSTANDARD = 'Skype for Business Online (Plan 2)'
MCOSTANDARD_GOV = 'Skype for Business (Plan G2) for Government'
MCOSTANDARD_MIDMARKET = 'Skype for Business Online (Plan 1)'
MCOVOICECONF = 'Lync Online (Plan 3)'
MCVOICECONF = 'Skype for Business Online (Plan 3)'
MFA_PREMIUM = 'Azure Multi-Factor Authentication'
MICROSOFT_BUSINESS_CENTER = 'Microsoft Business Center'
MIDSIZEPACK = 'Office 365 Midsize Business'
'MS-AZR-0145P' = 'Azure'
NBPOSTS = 'Social Engagement Additional 10K Posts'
NBPROFESSIONALFORCRM = 'Social Listening Professional'
O365_BUSINESS = 'Office 365 Business'
O365_BUSINESS_ESSENTIALS = 'Office 365 Business Essentials'
O365_BUSINESS_PREMIUM = 'Office 365 Business Premium'
OFFICE_PRO_PLUS_SUBSCRIPTION_SMBIZ = 'Office ProPlus'
OFFICESUBSCRIPTION = 'Office ProPlus'
OFFICESUBSCRIPTION_FACULTY = 'Office 365 ProPlus for Faculty'
OFFICESUBSCRIPTION_GOV = 'Office ProPlus for Government'
OFFICESUBSCRIPTION_STUDENT = 'Office ProPlus Student Benefit'
ONEDRIVESTANDARD = 'OneDrive'
PARATURE_ENTERPRISE = 'Parature Enterprise'
PARATURE_FILESTORAGE_ADDON = 'Parature File Storage Addon'
PARATURE_SUPPORT_ENHANCED = 'Parature Support Enhanced'
PLANNERSTANDALONE = 'Planner Standalone'
POWER_BI_ADDON = 'Power BI for Office 365 Add-On'
POWER_BI_INDIVIDUAL_USE = 'Power BI Individual User'
POWER_BI_INDIVIDUAL_USER = 'Power BI for Office 365 Individual'
POWER_BI_PRO = 'Power BI Pro'
POWER_BI_STANDALONE = 'Power BI for Office 365'
POWER_BI_STANDARD = 'Power BI Standard'
POWERAPPS_INDIVIDUAL_USER = 'Microsoft PowerApps and Logic flows'
POWERAPPS_VIRAL = 'Microsoft Power Apps & Flow'
PROJECT_CLIENT_SUBSCRIPTION = 'Project Pro for Office 365'
PROJECT_ESSENTIALS = 'Project Lite'
PROJECT_MADEIRA_PREVIEW_IW_SKU = 'Dynamics 365 for Financials for IWs'
PROJECTCLIENT = 'Project Pro for Office 365'
PROJECTESSENTIALS = 'Project Lite'
PROJECTONLINE_PLAN_1 = 'Project Online (Plan 1)'
PROJECTONLINE_PLAN_1_FACULTY = 'Project Online for Faculty Plan 1'
PROJECTONLINE_PLAN_1_STUDENT = 'Project Online for Students Plan 1'
PROJECTONLINE_PLAN_2 = 'Project Online (Plan 2)'
PROJECTONLINE_PLAN_2_FACULTY = 'Project Online for Faculty Plan 2'
PROJECTONLINE_PLAN_2_STUDENT = 'Project Online for Students Plan 2'
PROJECTONLINE_PLAN1_FACULTY = 'Project Online for Faculty'
PROJECTONLINE_PLAN1_STUDENT = 'Project Online for Students'
ProjectPremium = 'Project Online Premium'
PROJECTPROFESSIONAL = 'Project Online Professional'
PROJECTWORKMANAGEMENT = 'Office 365 Planner Preview'
RIGHTSMANAGEMENT = 'Azure Rights Management'
RIGHTSMANAGEMENT_ADHOC = 'Azure Rights Management Services Ad-hoc'
RIGHTSMANAGEMENT_STANDARD_FACULTY = 'Information Rights Management for Faculty'
RIGHTSMANAGEMENT_STANDARD_STUDENT = 'Information Rights Management for Students'
RMS_S_ENTERPRISE = 'Azure Active Directory Rights Management'
RMS_S_ENTERPRISE_GOV = 'Windows Azure Active Directory Rights Management for Government'
SHAREPOINT_PROJECT_EDU = 'Project Online for Education'
SHAREPOINTDESKLESS = 'SharePoint Online Kiosk'
SHAREPOINTDESKLESS_GOV = 'SharePoint Online Kiosk for Government'
SHAREPOINTENTERPRISE = 'SharePoint Online (Plan 2)'
SHAREPOINTENTERPRISE_EDU = 'SharePoint (Plan 2) for EDU'
SHAREPOINTENTERPRISE_GOV = 'SharePoint (Plan G2) for Government'
SHAREPOINTENTERPRISE_MIDMARKET = 'SharePoint Online (Plan 1)'
SHAREPOINTLITE = 'SharePoint Online (Plan 1)'
SHAREPOINTPARTNER = 'SharePoint Online Partner Access'
SHAREPOINTSTANDARD = 'SharePoint Online (Plan 1)'
SHAREPOINTSTANDARD_YAMMER = 'Sharepoint Standard with Yammer'
SHAREPOINTSTORAGE = 'SharePoint Online Storage'
SHAREPOINTWAC = 'Office Online'
SHAREPOINTWAC_EDU = 'Office Online for Education'
SHAREPOINTWAC_GOV = 'Office Online for Government'
SPE_E3 = 'Microsoft 365 E3'
SPE_E5 = 'Microsoft 365 E5'
SPZA_IW = 'App Connect'
SQL_IS_SSIM = 'Power BI Information Services'
STANDARD_B_PILOT = 'Office 365 (Small Business Preview)'
STANDARDPACK = 'Office 365 (Plan E1)'
STANDARDPACK_FACULTY = 'Office 365 (Plan A1) for Faculty'
STANDARDPACK_GOV = 'Office 365 (Plan G1) for Government'
STANDARDPACK_STUDENT = 'Office 365 (Plan A1) for Students'
STANDARDWOFFPACK = 'Office 365 (Plan E2)'
STANDARDWOFFPACK_FACULTY = 'Office 365 Education E1 for Faculty'
STANDARDWOFFPACK_GOV = 'Office 365 (Plan G2) for Government'
STANDARDWOFFPACK_IW_FACULTY = 'Office 365 Education for Faculty'
STANDARDWOFFPACK_IW_STUDENT = 'Office 365 Education for Students'
STANDARDWOFFPACK_STUDENT = 'Office 365 (Plan A2) for Students'
STANDARDWOFFPACKPACK_FACULTY = 'Office 365 (Plan A2) for Faculty'
STANDARDWOFFPACKPACK_STUDENT = 'Office 365 (Plan A2) for Students'
STREAM = 'Stream'
SWAY = 'SWAY'
VIDEO_INTEROP = 'Polycom Skype Meeting Video Interop for Skype for Business'
VISIO_CLIENT_SUBSCRIPTION = 'Visio Pro for Office 365'
VISIOCLIENT = 'Visio Pro for Office 365'
VISIOONLINE_PLAN1 = 'Visio Online Plan 1'
WACONEDRIVEENTERPRISE = 'OneDrive for Business (Plan 2)'
WACONEDRIVESTANDARD = 'OneDrive Pack'
WACSHAREPOINTENT = 'Office Web Apps with SharePoint (Plan 2)'
WACSHAREPOINTSTD = 'Office Web Apps with SharePoint (Plan 1)'
WINDOWS_STORE = 'Windows Store for Business'
YAMMER_ENTERPRISE = 'Yammer'
YAMMER_ENTERPRISE_STANDALONE = 'Yammer Enterprise'
YAMMER_MIDSIZE = 'Yammer'
}
IF ($sku -in $Skus.Keys)
{
return $Skus.$sku
}
Else
{
Return ('{0} not found' -f $sku)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment