Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Networking (https://www.askmehelpdesk.com/forumdisplay.php?f=76)
-   -   Pst backup exchange 2007 (https://www.askmehelpdesk.com/showthread.php?t=521872)

  • Oct 31, 2010, 10:36 PM
    dpro86
    Pst backup exchange 2007
    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

  • All times are GMT -7. The time now is 01:06 PM.