Max PST size limit is 20 GB, as this uses the Outlook provider. See http://support.microsoft.com/kb/830336/
Export-Mailbox –Identity <mailboxUser> -PSTFolderPath <pathToSavePST>
PSTFolderPath must be a full path pointing either to a directory or to a (.pst) file. If a directory is specified a PST file named after the mailbox alias will be used as the target of the export. Note that if the PST file already exists the contents of the mailbox will be merged into it.
Running a scheduled task is a two step process: 1) Create the powershell script and save it as a .ps1 file. E.g: get-mailbox | export-mailbox -PSTFolderPath:'C:\' -Confirm:$false
2) Create the scheduled task to run powershell and load the exchange snappin; then run your script. The action of your scheduled task should look like:
powershell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\Bin\ExShell.psc1" -Command ". 'C:\script.ps1'"