New-MSMailboxes
Create new Mailbox record(s)
Syntax
New-MSMailboxes -MailName1 (String) [-MailName2 (String)] [-MailName3 (String)] [-AdSId (String)] [-Process (String)] [-SubProcess (String)] [-BatchSize (Int32)]
New-MSMailboxes -Mailboxes (Array) [-DontMatchOnMailId] [-MatchOnMailboxName] [-DontMatchOnMailboxNameAll] [-DontMatchOnAdSid] [-DontMatchOnLegacyId] [-LookupOnly] [-BatchSize (Int32)]
Examples
## Create a new Mailbox with MailName1 "APITesterMailbox1", MailName2 "APITesterMailbox3", MailName3 "APITesterMailbox3" and return the new Mailbox Id.
(New-MSMailboxes -MailName1 "APITesterMailbox1" -MailName2 "APITesterMailbox3" -MailName3 "APITesterMailbox3").Id