I'm trying to normalize Item-Level Targeting for several GPPs that I've created. Manually slogging through each one via the GUI is just about the last thing I want to do. The terms tedious and error-prone come to mind.
I've been researching a way to script this, but alas I'm coming up empty.
Is there a way to get a list of GPPs that have ILT turned on, to include an output of each ILT configuration?
To this day, there is no suitable way to do what you want using built-in Windows commands (I believe). There are 3rd party tools you can buy for that.
One OOTB way would be to export all GPOs to XML and then filter the output to your liking.
Get-GPOReport -all -ReportType XML -Path c:\temp\gporeport.xml
for example.This is by no means pretty (or practical, really).
Another way would be to export every GPO to it's own report and then filter these files:
You can also export them in HTML and then filter for the strings you need.
This is not meant as a correct and/ or complete answer, but it's a bit too long for a comment.