AsBuiltReport / AsBuiltReport.Microsoft.AD

Repository for AsBuiltReport Microsoft Active Directory module
https://techmyth.blog/posts/homelab-ad-doc-using-asbuiltreport/
MIT License
63 stars 18 forks source link

HealthCheck - Computers with Password-not-required attribute set #174

Closed rebelinux closed 3 months ago

rebelinux commented 4 months ago

Description

Add condition to check for Computers with Password-not-required attribute set

PS C:\Users\Administrator\Downloads>  Get-ADComputer -Filter {PasswordNotRequired -eq $true}

DistinguishedName : CN=DATA,OU=Member Servers,DC=pharmax,DC=local
DNSHostName       : DATA.pharmax.local
Enabled           : True
Name              : DATA
ObjectClass       : computer
ObjectGUID        : c1dc363a-d6e5-4e2b-a3bf-992faf45b8f0
SamAccountName    : DATA$
SID               : S-1-5-21-2867495315-1194516362-180967319-7810
UserPrincipalName :

PS C:\Users\Administrator\Downloads>

Additional Context

No response

Before submitting