--- title: "Folder Exclusions" description: "You can use the cmdlets from this section to perform the following operations with folder exclusion settings and retention policy settings:" canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/folder_exclusions.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Data Backup > Folder Exclusions" dateModified: "2026-08-21" --- # Folder Exclusions You can use the cmdlets from this section to perform the following operations with folder exclusion settings and retention policy settings:

Cmdlet

Operation

Get-VBOFolderExclusions

Returns folder exclusion settings.

Set-VBOFolderExclusions

Modifies folder exclusion settings.

Get-VBOGlobalRetentionExclusion

Returns global retention policy settings for contacts and calendars.

Set-VBOGlobalRetentionExclusion

Modifies global retention policy settings for contacts and calendars.