nsacyber / Windows-Secure-Host-Baseline

Configuration guidance for implementing the Windows 10 and Windows Server 2016 DoD Secure Host Baseline settings. #nsacyber
Other
1.56k stars 286 forks source link

Prevent string array/list unrolling in function return statements #31

Closed iadgovuser1 closed 7 years ago

iadgovuser1 commented 7 years ago

Get-Intersection at https://github.com/iadgov/Secure-Host-Baseline/blob/ede2e06721c5ca0d0c92cf7d5781152aaf6b0065/Scripts/GroupPolicy.psm1#L495 is an example of the issue. It needs to be ,return instead of just return. Look for other cases of this.