I have a task to update all master and default.aspx pages of all our sites (about 30 sites). The task is to add a block of code including site name and links to scripts and styles. I am not sure whether I can do it using Power-Shell as the data differs from each other (site names).
Could anybody suggest some way to complete the task without opening each site in the SharePoint Designer and modifying each file there?
Thanks in advance.