Forum Discussion
sassdawe
Oct 13, 2016MCT
PnP PowerShell 2013 - Remove lists from extracted template
Hi there, I want to automate my template modification, for example: I only extract my lists but I don’t need all of them and I want to automatically filter them to keep my two custom lists, nothing ...
Oct 13, 2016
Hi sassdawe,
Are you using .pnp or the .xml format.
If you are using .xml then you could use:
[xml]$xmlDoc = Get-Content -Path c:\temp\template.xml
you will then have an xml object which you can adjust to your needs.