+ Post New Thread
Results 1 to 2 of 2
Enterprise Software Thread, Missing new-mailbox in exchange 2013 in Technical; I'm using the import-csv command to create new mailboxes however when I run the Ps1 the routine errors at new-mailbox ...
  1. #1
    ITBloke's Avatar
    Join Date
    Mar 2012
    Posts
    9
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Smile Missing new-mailbox in exchange 2013

    I'm using the import-csv command to create new mailboxes however when I run the Ps1 the routine errors at new-mailbox command saying that its not a valid command?????
    Low and behold when I search the list of available commands it is not there. Has anyone else had this problem???

    I going to reinstall powershell and hope that cures it, but would be interested to know...

  2. #2


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,629
    Thank Post
    250
    Thanked 2,908 Times in 2,140 Posts
    Rep Power
    829
    Have you tried adding the following to the top of your PowerShell script so that it loads the Exchange cmdlets? More details here.

    Code:
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://FQDN of Exchange 2013 Client Access Server/PowerShell/ -Authentication Kerberos
    Import-PSSession $Session
    or

    Code:
    $UserCredential = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://FQDN of Exchange 2013 Client Access Server/PowerShell/ -Authentication Kerberos -Credential $UserCredential
    Import-PSSession $Session



SHARE:
+ Post New Thread

Similar Threads

  1. exchange 2013 ecp select OU for new mailboxes
    By chrisjako in forum Enterprise Software
    Replies: 6
    Last Post: 9th September 2014, 02:09 PM
  2. Share calendar with a shared mailbox in exchange 2010.
    By monshine in forum How do you do....it?
    Replies: 1
    Last Post: 10th October 2012, 10:39 PM
  3. export mailboxes in exchange 2007 to PST
    By ranj in forum Windows
    Replies: 5
    Last Post: 28th August 2009, 12:51 AM
  4. Creating mailboxes in exchange 2007 when a user is created in AD on another server
    By thesk8rjesus in forum Network and Classroom Management
    Replies: 2
    Last Post: 5th September 2008, 03:53 PM
  5. Settings missing in Exchange 2003
    By WithoutMotive in forum Windows
    Replies: 0
    Last Post: 7th September 2007, 10:59 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Web Statistics