Add support to full path of OU within AD infrastructure + option to specify OU to analyze GPOs in (with or without recurse)
Hi,
thank you very much for this tool that gives a good basis while analyzing GPOs!
This PR adds the display of the full path of an OU while treating GPOs. Indeed different OUs may have the same name while being located in another location within the AD infrastructure. The variable name was also changed to follow the naming "SOMName" and "SOMPath" of the Get-GPORerport produced XML.
Furthermore the 2nd commit adds the option to specify an OU to analyze GPOs in (with or without recurse). This can be interesting while trying to debug specific GPOs in OUs (like parameter override or inheritance blocked) ;-).
Please note that I'm a not (yet) a PowerShell guy so feel free to give me some feedback regarding implementation :-).
This last feature has been tested only with the "WithFile" option, thus Domain and WithoutFile is not included in this PR.
Cheers!
i'm super busy atm with work but i will have a look at this asap, thanks!