Forum Discussion
Christian1620
Jan 13, 2023Copper Contributor
Use Document template in document library powershell
Hello, 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. ...
Jan 13, 2023
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
https://github.com/pnp/PnP-Provisioning-Schema/blob/master/Samples/ProvisioningSchema-2022-09-FullSample-01.xml
here is a sample you can follow to se how to do it
https://github.com/pnp/PnP-Provisioning-Schema/blob/master/Samples/ProvisioningSchema-2022-09-FullSample-01.xml