Link to home
Start Free TrialLog in
Avatar of lleddac
lleddac

asked on

Automating Exchange 2007 Management Shell Export-Mailbox to a pst file

Doing a brick level backup of all mailboxes on my Exchange 2007 server, I want to automate the process. I am using the cmdlet "Get-Mailbox -OrganizationalUnit SpecialEducation | Export-Mailbox -PSTFolderPath 'C:\PSTFiles\SpecialEducation' from a 32 bit machine that has the Exchange Management Tools installed. When I enter that text I always have to confirm I want to do this so I enter an "A" for all. Is there anyway to feed the "A" to the command without having to enter it? I would like to fully automate the process. Can I use batch files to do this?
Thank you,
ASKER CERTIFIED SOLUTION
Avatar of shodan15
shodan15
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lleddac
lleddac

ASKER

Perfect shodan15,
Thank you very much