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
Solved

Exchange 2007 Export-Mailbox

Posted on 2014-03-04
1
368 Views
Last Modified: 2014-03-04
Hi

I am using the following script below and it Keeps asking me to Agree to the Export what syntax do I add on the end to say Yes to all?



$a=(import-csv "C:\Scripts\Export.CSV")
Foreach($b in $a){
      $user=$b.user
      $Group=$b.Group
      Export-Mailbox –Identity $user -PSTFolderPath $Group
      
}
0
Comment
Question by:SEHC
1 Comment
 
LVL 8

Accepted Solution

by:
Jeff Perry earned 500 total points
ID: 39904055
-Confirm:$false
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
To show how to generate a certificate request 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 Servers >> Certificates…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

860 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