I'm using Sharepoint Pnp PowerShell against a SharePoint 2013 server on-prem and whenever I try to use Get-PnpFolder, it gives the error:
Method "GetFolderByServerRelativePath" does not exist
The Rename-PnpFolder also gives the same error.
I've tried using it on both my workstation (Windows 10) and on one of the SharePoint 2013 Server web front ends. Both get the same error. All the other cmdlets I have used work just fine.
It is connecting to the site because I can use the cmdlets to access lists for example.
The docs don't seem to indicate that this shouldn't work with 2013. Any ideas?