Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Automatic Prompt for connect-mailbox command - Exchange 2010

Posted on 2010-08-16
2
Medium Priority
?
1,129 Views
Last Modified: 2012-05-10
Hi all,

I am trying to run the above command, connect-mailbox for many users, however, even with the "-confirm:$false" argument the powershell still asks for confirmation.

How can I tell the command to automatically pass 'yes' to the command?

Many thanks in advance.
0
Comment
Question by:PentValley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
SGrossmann earned 2000 total points
ID: 33453080
I think this is a not documented bug / standard :)Refering to: http://www.vistax64.com/powershell/87494-suppressing-confirmation-prompt.htmltry to add the -ManagedFolderMailboxPolicyAllowed parameter.Sorry that I don't have a environment to test it.
0
 

Author Closing Comment

by:PentValley
ID: 33462346
Thanks for your help.

This works great :)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

722 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