title: Powershell run export-mailbox script from batch file
body: <p>I am trying to run a batch file which runs powershell script (Export-mailbox -identity admin -pstFolderPath \srv02\d$\test)</p>
  
  <p>I have been running the export-mailbox command manually to export 20 mailboxes. I would like to make this process as a script so I can run it everyday to make a backup of all mailboxes with pst files.</p>
  
  <p>Does anyone know how to do this?</p>