Read Documents versions.

Copper Contributor

Hi,

 

I am qureying a document library with a filter condition in PnP PowerShell. After that I am writing the below PnP code to get the version properties for each library item.

Get-PnPProperty -ClientObject $libitem -Property Versions

 

My question when ever I call the above command will it get the data by hitting the server or get the data from the $libitem (library item)

 

If it is hitting the server, can you please let me know if there is any way to get all the properties of the version for a library item without hitting the server.

 

Regards,

Kishore.

 

 

1 Reply

@Venkata_Kishore 

 

It's not possible because ultimately "getting items from lists" and "getting versions of particular" are two different method / API. 

 


Hope it will helpful to you and if so then Please mark my response as Best Response & Like to help others in this community