PnP-PowerShell icon indicating copy to clipboard operation
PnP-PowerShell copied to clipboard

Rename-PnPFolder - Not available for on-prem

Open MartinHatch opened this issue 9 years ago • 2 comments

The "Rename-PnPFolder" Cmdlet is only available on SharePointPnPPowerShellOnline The cmdlet is not found in the psd1 file for the SharePointPnPPowerShell2016 release.

This was found on the October 2017 release.

MartinHatch avatar Oct 16 '17 09:10 MartinHatch

Hi Martin,

I'm not able to reproduce this issue. The cmdlet is present in my installation. Can you try to reinstall the latest build of the cmdlets?

If that does not solve it, do not hesitate to reopen this issue.

Regards,

/Erwin

erwinvanhunen avatar Nov 19 '17 19:11 erwinvanhunen

The command is not available in my fresh installation of 2018 February SharePointPnPPowerShell2016. Guess the reason being that https://github.com/SharePoint/PnP-PowerShell/blob/master/Commands/Files/RenameFolder.cs contains #if !ONPREMISES ?

vegardStromsoy avatar Feb 04 '18 14:02 vegardStromsoy