Forum Discussion
Nigel_Price9911
Feb 12, 2018Iron Contributor
How Do I get the version of a file using PnP Powershell
Hi
I am trying to get the version of a file in a document library using PnP Powershell.
Connect-PnPOnline -Url <url>
$ListItems = Get-PnPListItem -List <MyDocLibrary>
for each ($item...
DJ-11
Jun 06, 2023Copper Contributor
AlyaKoni How could we also retrieve the CheckIn Comment for each version?
AlyaKoni
Jun 06, 2023Copper Contributor
From $version.CheckInComment
https://learn.microsoft.com/de-de/previous-versions/office/sharepoint-csom/ee539626(v=office.15)
https://learn.microsoft.com/de-de/previous-versions/office/sharepoint-csom/ee539626(v=office.15)