powershell. "Does a folder exist" command? (outlook not exchange) RRS feed

  • Question

  • I'm copying files from various folders in the mailbox to another folder in the same mailbox. (I am an end user, not an exchange admin).

    however I need to check if the folder structure I am copying the mailitem  to exists (if not create it).

    Done so much so far, but this one simply thing is annoying me (I have a workaround based on "if error, then create the folder structure"

    Actually while you are here .... is there any mechanism to recursively create folders? eg \testA\testB\TestC in one go, rather than testa then testb  then test c?

    Friday, July 24, 2020 12:12 PM

All replies