Trying to run the following:
Get-MailboxDatabase MAILDB-01 | Export-Mailbox –PSTFolderPath C:\Backup\ -Confirm $false
But getting error that the cmdlet "export-mailbox" is not recognized.
I've added the role for import export and i can export single mailboxes, but running the above command wont work.
What i'm trying to achieve is to extract all mailboxes from the DB to psts instead, this needs to be done for backup purposes.
If this command is obsolete, is there any other way to achieve this?