header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Enable-Mailbox from ASP.NET page
Last Post 23 Jun 2009 07:57 AM by Kirk. 2 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Resolved
KirkUser is Offline
New Member
New Member
Posts:4
Avatar

--
22 Jun 2009 11:58 AM
    I'm in the process of creating a page that will allow staff to enable mailboxes using Powershell and I am running in to an issue when running the script.

    Enable-Mailbox -Identity user@domain.com -database 'server\sg\mb1' -whatif

    The script works on the console on the webserver directly:

    [PS] C:\>Enable-Mailbox -Identity user@domain.com -database 'server\sg\mb1' -whatif
    What if: Enabling Mailbox "user@domain.com" on Database "server\sg\mb1".

    It doesn't when running it on the server and it fails oddly:

    Database "server\sg\mb1" was not found. Please make sure you have typed it correctly.

    Does anyone have any ideas?

    Thank you for your time.
    Marco ShawUser is Offline
    Veteran Member
    Veteran Member
    Posts:1684
    Avatar

    --
    22 Jun 2009 04:28 PM
    • Accepted Answer
    You may want to check this out:
    http://powershellcommunity.org/Foru...fault.aspx
    KirkUser is Offline
    New Member
    New Member
    Posts:4
    Avatar

    --
    23 Jun 2009 07:57 AM
    Thank you for your response. I ended up doing some App Pool tweaks and it worked.
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer