Every time after deploying the WSP. Editing the page and adding all the custom webparts on every page is tiresome. Is there any easy way to add all the web parts dynamically using powershell ??
try the script in the following link:
How to Add WebPart to the Publishing Page using PowerShell in SharePoint 2013 - See more at: http://www.sharepointpals.com/post/How-to-Add-WebPart-to-the-Publishing-Page-using-PowerShell-in-SharePoint-2013#sthash.Qb34PJms.dpuf
I hope it helps
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.