To backup pst file in exchange 2007
Export-Mailbox –Identity <mailboxUser> -PSTFolderPath <pathToSavePST>
I want to write a script asking the user input for the mailbox user and path how do I do that?
For example
Please enter the mail box?
Get mailbox
Please enter the destination path?
Get the path
Then run the command in the background
Export-Mailbox –Identity <mailbox> -PSTFolderPath <path>
Please help me