Exchange 2010 SP3 Mass export all mailboxes to PST as scheduled task.

I would like to know how to schedule an export of all my mailboxes on a network share.

I already tried many script that returning me some errors like "invalid signed cert"

I don't know how to execute "Set-ExecutionPolicy Unrestricted" before my ps1 to take effect.

I had some error singing certs : Set-AuthenticodeSignature : Cannot bind argument to parameter 'Certificate' because it is null.

So i'd like to start from the beginning.
SupportInfo_caAsked:
Who is Participating?
 
SupportInfo_caConnect With a Mentor Author Commented:
What a joke.

When i was following a tutorial on : how to self-sign a script, i found out that all the script that i'm creating from the PowerShell is signed.

So the only thing i did in my powershell :

[PS] C:\Test\get-content .\NotSignedScript.ps1 > NewSignedScript.ps1

It create a new file with the same content but SIGNED !
0
 
SupportInfo_caAuthor Commented:
New-MailboxExportRequest -mailbox "username" -filepath "UNC Path" is working.
Now i would like to scheduled a script to backup all my mailboxes.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.