Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Apoc70/New-TeamMailbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New-TeamMailbox.ps1

Creates a new shared mailbox, security groups for full access and send-as permission and adds the security groups to the shared mailbox configuration.

NOTE

This repository is archived. You find the maintained release of this script here.

Description

This scripts creates a new shared mailbox (aka team mailbox) and security groups for full access and and send-as delegation. Security groups are created using a naming convention.

Parameters

TeamMailboxName

Name attribute of the new team mailbox

TeamMailboxDisplayName

Display name attribute of the new team mailbox

TeamMailboxAlias

Alias attribute of the new team mailbox

TeamMailboxSmtpAddress

Primary SMTP address attribute the new team mailbox

DepartmentPrefix

Department prefix for automatically generated security groups (optional)

GroupFullAccessMembers

String array containing full access members

GroupFullAccessMembers

String array containing send as members

Examples

.\New-TeamMailbox.ps1 -TeamMailboxName "TM-Exchange Admins" -TeamMailboxDisplayName "Exchange Admins" -TeamMailboxAlias "TM-ExchangeAdmins" -TeamMailboxSmtpAddress "ExchangeAdmins@mcsmemail.de" -DepartmentPrefix "IT"

Create a new team mailbox, empty full access and empty send-as security groups

Note

THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.

Credits

Written by: Thomas Stensitzki

Stay connected

For more Office 365, Cloud Security, and Exchange Server stuff checkout services provided by Granikos

About

Creates a new shared mailbox, security groups for full access and send-as permission and adds the security groups to the shared mailbox configuration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published