This script in intendeed for applying the UAC mitigations for PTH attacks automatically. Take a look at https://download.microsoft.com/download/7/7/a/77abc5bd-8320 ...
GPO etc is not my area of expertise, hence my query :) I have a powershell script that I run manually to obtain asset details from systems, which works (usually) well. I figured lets try adding it to ...