Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1288
  • Last Modified:

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.
0
SupportInfo_ca
Asked:
SupportInfo_ca
  • 2
1 Solution
 
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
 
SupportInfo_caAuthor 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

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now