-
Notifications
You must be signed in to change notification settings - Fork 661
Added GetPnPSiteHistoricalVersionsStatus #2832
base: dev
Are you sure you want to change the base?
Conversation
Remarks = "Returns the status of the feature as well as the number of documents processed for the site if the feature is enabled.", | ||
SortOrder = 1)] | ||
public class GetSiteHistoricalVersionsStatus : PnPWebCmdlet | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@erwinvanhunen would it make sense to inherit from PnPAdminCmdlet
instead, and maybe move the cmdlet to the Admin folder instead of search?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It probably would make more sense indeed. What's the current status of the availability of this API? Does anyone know? Still doesn't seem to compile here against the latest CSOM version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have no wait until the CSOM change is pushed. Don't have an ETA, but maybe @VesaJuvonen has track of this?
Before creating a pull request, make sure that you have read the contribution file located at
https://github.com/pnp/PnP-PowerShell/blob/dev/CONTRIBUTING.md
Type
Related Issues?
Fixes #X, partially fixes #Y, mentioned in #Z, etc.
What is in this Pull Request ?
Added a new command for getting the status of the upcoming Historical Versions feature for a site. This feature allows sites to make versions searchable for eDiscovery.
Guidance
This is a draft pull request to keep track of the feature since the CSOM API needed for this command hasn't been published yet. Will publish this pull request once the API is available.