Skip to content

Bulk Create Exchange Mailboxes for AD users and configure settings #32

Open
@CiscoK005

Description

@CiscoK005

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:

  1. Create Mailbox for all ADusers with No mailbox in a specific OU
  2. Add A CustomAttribute in Attribute9
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions