Get-PnPList to return value of EnableAutoExpirationVersionTrim true or false #4813
Unanswered
joshfolcik
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is the only piece I can't get from PnP, Looks like PnP can set the value with Set-PnPList with the -EnableAutoExpirationVersionTrim flag... but you can't see what the setting is per library with Get-PnPList from what I can tell in the PnP cmdlet reference. This is that new automatic versioning capability in SharePoint from second half of 2024 that can be individually set all the way down to the list level. I'm having to retrieve the value with Get-SPOListVersionPolicy in the meantime through the Microsoft PowerShell module.
Beta Was this translation helpful? Give feedback.
All reactions