Solved

Automatic Prompt for connect-mailbox command - Exchange 2010

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
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…
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…

770 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