Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in SecurityComputers.ps1 #156

Closed
shivtorov opened this issue Dec 24, 2021 · 1 comment
Closed

Typo in SecurityComputers.ps1 #156

shivtorov opened this issue Dec 24, 2021 · 1 comment

Comments

@shivtorov
Copy link

Line 116 should say Domain Computers or Domain Controllers or Read-Only Domain Controllers instead of Domain Users

PrimaryGroup = @{
Enable = $true
Name = "Primary Group shouldn't be changed from default Domain Users."
Parameters = @{
#WhereObject = { $_.PrimaryGroupID -ne 513 -and $_.SID -ne "$((Get-ADDomain).DomainSID.Value)-501" }
WhereObject = { $_.PrimaryGroupID -notin 515, 516, 521 }
ExpectedCount = 0
OperationType = 'eq'
ExpectedOutput = $false
}
Details = [ordered] @{
Category = 'Security'
Importance = 5
ActionType = 2
StatusTrue = 1
StatusFalse = 4
}
Description = "Computer accounts shouldn't have different group then Domain Computers or Domain Controllers or Read-Only Domain Controllers as their primary group."
}

@PrzemyslawKlys
Copy link
Member

Thank you. You could always fix it yourself :-) It's quite easy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants