Retrieves mailbox restores for a specified customer tenant.
The Get-CIPPMailboxRestores function retrieves mailbox restores for a specified customer tenant in the CIPP project. It uses the Invoke-CIPPRestMethod function to make a REST API call to the "/api/listmailboxrestores" endpoint.
Specifies the ID of the customer tenant for which mailbox restores should be retrieved. This parameter is mandatory.
Specifies the identity of the mailbox for which restores should be retrieved. This parameter is optional.
Indicates whether to include the restore report in the results. This parameter is optional.
Indicates whether to include statistics about the restores in the results. This parameter is optional.
PS > Get-CIPPMailboxRestores -CustomerTenantID "7ced1621-b8f7-4231-868c-bc6b1a2f1778" -Identity "281ceb6e-3d12-4a7f-b571-3c4f35ad85bc" -Includereport -Statistics