Last active
May 4, 2018 11:01
-
-
Save Celoxocis/578a6e06e12964713f3dc035247de215 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-Mailbox -Database "MAILDBNAME" -Name "Firstname Lastname" -Alias firstinitiallastname -PrimarySMTPAddress firstinitiallastname@domain.tld -FirstName Firstname -LastName Lastname -UserPrincipalName firstinititallastname@domain.tld -OrganizationalUnit "domain.tld/OrgUnit" -DisplayName "FirstName" -Password (ConvertTo-SecureString -String 'Pa$$word1' -AsPlainText -Force) -ResetPasswordOnNextLogon $True | Set-Mailbox -CustomAttribute1 "My Custom Attribute 1" | |
Add-MailboxPermission -Identity Sarah -User Chris -AccessRight FullAccess -Automapping $false -InheritanceType All | |
Get-Mailbox -RecipientTypeDetails RoomMailbox | Set-CalendarProcessing -ResourceDelegates Admin1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment