You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unused or underutilized accounts in highly privileged groups, outside of any break-glass emergency
accounts like the default Administrator account, should have their AD Admin privileges removed.
Unused or underutilized accounts in highly privileged groups, outside of any break-glass emergency
accounts like the default Administrator account, should have their AD Admin privileges removed.
Get-ADGroupMember 'Administrators' -Recursive | Get-ADUser -property
SAMAccountName,DisplayName,LastLogonDate,PasswordLastSet,Description,Created,
UserPrincipalName | Where-Object {($.LastLogonDate -le (Get-Date).AddDays(-
30)) -AND ($.PasswordLastSet -le (Get-Date).AddDays(-365))}
The text was updated successfully, but these errors were encountered: