Use Document template in document library powershell

Copper Contributor



i want to add a file with a document template in a document library through powershell. 


Like this one but with powershell




I do not find a pnp module or other online. 


Steps in result:

- Upload a csv

- create documents (word) files in a document library with the second content type "ptoXXX"


Can anyone help me pls?


1 Reply
You can create a custom contenttype and assign a document template to it used PnP provisioning.

here is a sample you can follow to se how to do it