@riskymanag3ment $90DaysAgo = (Get-Date).AddDays(-90)
(Get-ADUser -Filter {Enabled -eq 'True' -and LastLogonDate -gt $90DaysAgo} -SearchBase $OU).count
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Jake Hildreth (acorn) :blacker_heart_outline: (horse@infosec.exchange)'s status on Saturday, 22-Jul-2023 22:31:22 JSTJake Hildreth (acorn) :blacker_heart_outline: