Creating a shared mailbox

Posted on 2012-08-24
Last Modified: 2012-09-01
I am trying to setup a shared mailbox via Windows PowerShell for our Exchange account.

This is how far I have gotten.

1. $LiveCred = Get-Credential
2. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $LiveCred -Authentication Basic -AllowRedirection
3. Import-PSSession $Session

Now when I try to enter the command:
New-Mailbox -Name "Shared Mailbox" -Alias Shared -Shared
I receive an error message stating
"The term 'New-Mailbox' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
 spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:12
+ New-Mailbox <<<<  -Name "Estimators Calendar" -Alias estimators -Public
    + CategoryInfo          : ObjectNotFound: (New-Mailbox:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException"

Any pointers would be greatly appreciated.
Question by:akus1
    LVL 52

    Expert Comment

    You need to user Exchange powershell to make the Command "New-Mailbox" work.

    - Rancy

    Accepted Solution

    User needs to have Global Administrator rights, and not Service Administrator rights.

    Problem solved.

    Author Closing Comment

    I was set as service administrator and not global administrator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
    Sometimes Outlook might have problems sending a message. There may be various causes- corrupted PST, AV scanner etc. The message, instead of going to the Sent Items folder, sits in the Outbox indefinitely. To remove it you can use a free tool cal…
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now