Scenario:
One server AD Object
When running New-SystemData -ComputerName 'WEB1', if WEB1 is in an OU called Test. If there are any other OUs within the Domain named Test, those OUs will get pulled into the ouObject variable within ActiveDirectoryFunctions.ps1. When this happens StigRepo doesn't know which OU to use, which results in termination with no errors (screenshot of result below)
Scenario: One server AD Object When running New-SystemData -ComputerName 'WEB1', if WEB1 is in an OU called Test. If there are any other OUs within the Domain named Test, those OUs will get pulled into the ouObject variable within ActiveDirectoryFunctions.ps1. When this happens StigRepo doesn't know which OU to use, which results in termination with no errors (screenshot of result below)
Result:
Example of pulling multiple OUs for one system: