'Modify multiple html files in a directory folder with PowerShell

I want to insert some HTML code (8 lines) between code that already exist in 60 .html files. Some of the HTML files are in separate folders in the directory. I found this posting, but it only answers half of my issue.

modify multiple html files with Powershell

<li><a href="/sites/abc/stores.aspx">Directed Stores</a></li>

**I want new code inserted here for 70 files in a directory by using PowerShell**

<li><a href="/sites/abc/stores.aspx">Non-directed Stores</a></li>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source