-
Notifications
You must be signed in to change notification settings - Fork 298
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
S-OS-W10 should not count disabled computers #267
Comments
Correction, disabled objects does not make this rule count for 5. Wording in the Rule description would be an appreciated change, as would not counting disabled computers as inactive. |
I've assembled a script to make the discovery of Devices running older OS'es much easier, I don't know much text you would want to include in your descriptions, but feel free to do so if you see any value therein. `function ConvertWindowsBuild{ $Comps= Get-ADComputer -filter "OperatingSystem -like 'Windows 1'" -properties * |
in S-OS-W10 a powershell command is mentioned, to help you find Computers by OS version.
Get-ADComputer -Filter {(Enabled -eq $true) -and (OperatingSystem -Like "*Windows 10*")} -Property Name,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion | format-table Name,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion -Wrap -Auto
The data returned does not match the numbers in the report (the cmd returns 5 computers, where the report shows 18 (0 active))
I can get the command to return 18 if I remove the condition for Enabled -eq $true.
It would make sense not to count disabled computers, the wording of the score descriptions makes it sound like any presence of older OS'es even disabled once, will grant a score of 5.
The text was updated successfully, but these errors were encountered: