SEHC
asked on
Exchange 2007 Export-Mailbox
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
}
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
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.