So I have a script that is meant to strip windows 10 of any kind of performance preventing services and bloat. The internet is not connected to these machines so it is not important that updates or antivirus etc exist on these machine. I found and modified a script online to assist in this (there is a lot of added BS that was not in XP that has been added in 10). I found the key to disable UAC and I exported the value to a reg file and it looks like this:
What is the proper syntax to add this to a powershell script?