Anyone have a good PS script or module to pull GPO...
# _dev-scripting
n
Anyone have a good PS script or module to pull GPO settings into a CSV/Excel document? I have been using SDM's module, but it's not great for registry preferences, as it puts every single part of one preference onto a new line, so comparing hundreds of preferences becomes a chore.
j
Check out MS Security Compliance Toolkit, you can compare GPOs, it's quite powerful.
n
Tried that, but it didn't really provide the details. It's just Group Policy Preferences that are killing me here, and of course MS's Policy Analyzer tool does not read those.
j
OK I thought it was doing it, well that's a pity.
n
GPPs are the bane of my existence. I have to compare 3 domains and want to jump out of a window at the moment
j
It's a pity MS doesn't offer a tool for that!
m
I'm doing GPO stuff right now and feel the same way, did you ever find anything?
I have 6 domains to do
n
I did not, no. I spent weeks just going through the SDM exports and comparing things. I hated every second of it.
m
oh good!
n
It's the preferences that kill it all. Everything else works fine, but preferences are just fucked. Typical MS.
This is the shit I was staring at for weeks. 4856 individual rows. I hope your pain is less.
m
not as many GPPs but everything is in a spreadsheet that is equally as painful
I think it's a 6MB spreadsheet now
n
oh fuck that
Didn't MS's old Advanced Group Policy Management utility do stuff like this?
m
I call it the biblically accurate spreadsheet because looking at it directly puts the fear of god into you