The first part of the short series about the basics of PowerShell we assemble a small script from scratch and explain how it works. In the previous posts we have constructed some basic commands to export and compare data. This time we will try to write a program that can undo these changes. We will use the HTML export we created last time as a source for the list of registry keys that I need to remove. We need to get rid of some unnecessary text that was added during the process of converting to HTML.”]
Source: https://blog.malwarebytes.com/101/2017/08/learning-powershell-basic-programs/

