Solved

Automatic Prompt for connect-mailbox command - Exchange 2010

Posted on 2010-08-16
2
1,114 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 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

739 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