Solved

Automatic Prompt for connect-mailbox command - Exchange 2010

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video we show how to create a Distribution Group 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 >>…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

820 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