{"id":19055443,"url":"https://github.com/evotecit/o365emailaddresspolicy","last_synced_at":"2025-04-24T04:21:13.207Z","repository":{"id":95331762,"uuid":"432518667","full_name":"EvotecIT/O365EmailAddressPolicy","owner":"EvotecIT","description":"O365EmailAddressPolicy PowerShell module replicates Exchange On-Premise functionality when it comes to Email Address Policy allowing cloud-only environments. Office 365 doesn't provide an option to autogenerate email addresses for users. This module enables the creation of email addresses for users based on their first name and last name.","archived":false,"fork":false,"pushed_at":"2021-12-21T16:31:41.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T12:18:48.709Z","etag":null,"topics":["exchange","exchange-online","office365","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EvotecIT.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG.MD","contributing":null,"funding":".github/FUNDING.yml","license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"PrzemyslawKlys","custom":"https://paypal.me/PrzemyslawKlys"}},"created_at":"2021-11-27T17:02:11.000Z","updated_at":"2023-08-21T02:45:03.000Z","dependencies_parsed_at":"2023-05-02T20:31:48.946Z","dependency_job_id":null,"html_url":"https://github.com/EvotecIT/O365EmailAddressPolicy","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"7b0681c80ec947e145ad9a4b1d1a1de99f00efd3"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvotecIT%2FO365EmailAddressPolicy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvotecIT%2FO365EmailAddressPolicy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvotecIT%2FO365EmailAddressPolicy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvotecIT%2FO365EmailAddressPolicy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvotecIT","download_url":"https://codeload.github.com/EvotecIT/O365EmailAddressPolicy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250561342,"owners_count":21450404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exchange","exchange-online","office365","powershell"],"created_at":"2024-11-08T23:45:01.809Z","updated_at":"2025-04-24T04:21:13.188Z","avatar_url":"https://github.com/EvotecIT.png","language":"PowerShell","funding_links":["https://github.com/sponsors/PrzemyslawKlys","https://paypal.me/PrzemyslawKlys"],"categories":[],"sub_categories":[],"readme":"﻿\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://dev.azure.com/evotecpl/O365EmailAddressPolicy/_build/latest?definitionId=18\"\u003e\u003cimg src=\"https://dev.azure.com/evotecpl/O365EmailAddressPolicy/_apis/build/status/EvotecIT.O365EmailAddressPolicy\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.powershellgallery.com/packages/O365EmailAddressPolicy\"\u003e\u003cimg src=\"https://img.shields.io/powershellgallery/v/O365EmailAddressPolicy.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.powershellgallery.com/packages/O365EmailAddressPolicy\"\u003e\u003cimg src=\"https://img.shields.io/powershellgallery/vpre/O365EmailAddressPolicy.svg?label=powershell%20gallery%20preview\u0026colorB=yellow\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/EvotecIT/O365EmailAddressPolicy\"\u003e\u003cimg src=\"https://img.shields.io/github/license/EvotecIT/O365EmailAddressPolicy.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.powershellgallery.com/packages/O365EmailAddressPolicy\"\u003e\u003cimg src=\"https://img.shields.io/powershellgallery/p/O365EmailAddressPolicy.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/EvotecIT/O365EmailAddressPolicy\"\u003e\u003cimg src=\"https://img.shields.io/github/languages/top/evotecit/O365EmailAddressPolicy.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/EvotecIT/O365EmailAddressPolicy\"\u003e\u003cimg src=\"https://img.shields.io/github/languages/code-size/evotecit/O365EmailAddressPolicy.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.powershellgallery.com/packages/O365EmailAddressPolicy\"\u003e\u003cimg src=\"https://img.shields.io/powershellgallery/dt/O365EmailAddressPolicy.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twitter.com/PrzemyslawKlys\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/PrzemyslawKlys.svg?label=Twitter%20%40PrzemyslawKlys\u0026style=social\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://evotec.xyz/hub\"\u003e\u003cimg src=\"https://img.shields.io/badge/Blog-evotec.xyz-2A6496.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.linkedin.com/in/pklys\"\u003e\u003cimg src=\"https://img.shields.io/badge/LinkedIn-pklys-0077B5.svg?logo=LinkedIn\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# O365EmailAddressPolicy - PowerShell Module\n\n**O365EmailAddressPolicy** PowerShell module replicates Exchange On-Premise functionality when it comes to Email Address Policy allowing cloud-only environments. Office 365 doesn't provide an option to autogenerate email addresses for users. This module enables the creation of email addresses for users based on their first name and last name.\n\n## Installing\n\nEveryone can install this module from **PowerShellGallery** hosted by Microsoft. It's recommended way to work with the module.\nVersion on **PowershellGallery** is optimized for speed and signed. Using code from **GitHub** is **recommended for development**.\n\n```powershell\nInstall-Module -Name O365Essentials -AllowClobber -Force\n```\n\nForce and AllowClobber aren't necessary, but they do skip errors in case some appear.\n\n## Updating\n\n```powershell\nUpdate-Module -Name O365Essentials\n```\n\nThat's it. Whenever there's a new version, you run the command, and you can enjoy it. Remember that you may need to close, reopen PowerShell session if you have already used module before updating it.\n\n**The essential thing** is if something works for you on production, keep using it till you test the new version on a test computer. I do changes that may not be big, but big enough that auto-update may break your code. For example, small rename to a parameter and your code stops working! Be responsible!\n\n## Usage\n\n\n```powershell\n# will give przemyslawklys@evotec.xyz\nGet-EmailAddress -FirstName 'Przemysław' -LastName 'Kłys' -EmailTemplate \"%g%s@evotec.xyz\" -ToLower\n```\n\n```powershell\n$EmailTemplate = @(\n    \"%g.%s@evotec.xyz\"  # will give przemyslaw.klys@evotec.xyz\n    \"%1g.%s@evotec.xyz\" # will give p.klys@evotec.xyz\n    \"%1g%s@evotec.xyz\"  # will give pklys@evotec.xyz\n    \"%3g.%s@evotec.xyz\" # will give prz.klys@evotec.xyz\n    \"%g.%1s@evotec.xyz\" # will give przemyslaw.k@evotec.xyz\n    \"%g@company.pl\"     # will give przemyslaw@company.pl\n)\n\nGet-EmailAddress -FirstName 'Przemysław' -LastName 'Kłys' -EmailTemplate $EmailTemplate -ToLower\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevotecit%2Fo365emailaddresspolicy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevotecit%2Fo365emailaddresspolicy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevotecit%2Fo365emailaddresspolicy/lists"}