Get-SPOTenantVersionPolicy
Returns the current tenant-level file version policy as an SPOFileVersionPolicySettings object.
Syntax
Default (Default)
Get-SPOTenantVersionPolicy
Description
Returns the current tenant-level file version policy, including the default policy settings and any per-file-type overrides, as an SPOFileVersionPolicySettings object.
The returned object is a local copy and can be modified using Get-SPOVersionPolicyWithChanges. Pass the modified policy to New-SPOTenantApplyFileVersionPolicyJob to apply it to the tenant, or to Get-SPOTenantApplyFileVersionPolicyJobImpact to estimate trimming impact without making changes.
Examples
Example 1
Get-SPOTenantVersionPolicy
Returns the current tenant-level file version policy.