# Using PNP to Copy files between SharePoint Sites with metadata

Occasional Contributor

# Using PNP to Copy files between SharePoint Sites with metadata

I'm trying to copy files between SharePoint sites.  I can not find an example of using the powershell PNP commands in sequence to perform the actions.

I'm not certain if I should be using Get-PNPListItems first then trying to use Get-PNPFile then using copy-pnpfile.

I see examples of these commands working individually but I don't see examples of using them in a real script to migrate files.

0 Replies