First of all, I want to publicly sincerely apologize for my previous behavior. I have acted like a total butthead. I would have used a stronger word, but this is a public forum. This behavior will not continue. Please forgive me.
That said, if I may be so bold, I have a complicated problem...well, it's complicated for my ill-equipped brain. I have developed an app that can uninstall the default apps that we are forced to have in windows 10. It can do everything at once, or by user-selected check boxes. What I would like to have happen is when the user opens the window to make selections, I would like to have all the uninstall choices they have previously implemented to be automatically unchecked, and the remaining choices checked. Under normal circumstances, this wouldn't be a problem. The trouble is, the only ways to access these previous choices is either by running a powershell command that spits out a massive cryptic list of every detail of everything on your system (which is virtually indecipherable), or create a list in a text file of each app name as it gets uninstalled. I have chosen the text file route, with the contents displayed in a textarea. This seems really clunky and inadequate.
Is there a way I can read the text file (I know how to do that already) and use each line (one app name per line) to set the appropriate check box values to false while setting all the remaining check box values to true?