Open
Description
I was trying to update an old line in our PowerShell script to create an exchange mailbox for users with no mailbox
Here's what I have so far:
The goal is to:
- Create Mailbox for all ADusers with No mailbox in a specific OU
- Add A CustomAttribute in Attribute9
- Disable IMAP and POP
Get-User -OrganizationalUnit Our UserOU -RecipentTypeDetails User | Enable-Mailbox -database “Your Database” | Set-Mailbox -CustomAttribute9 OurAttribute | Set-CASMailbox –PopEnabled $False –IMAPEnabled $False
Any help you provide would be extremely appreciated.