B
B
bnsurg2020-07-10 14:14:05
Windows Server
bnsurg, 2020-07-10 14:14:05

How can I block an account in a domain when there is no activity?

How can this be done using group policies?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2020-07-11
@bnsurg

Get-AdUser -filter {enabled -eq $True} -Properties lastlogon

check lastlogon for greater than less than N days and disable.
PS
How you are going to do this with group policies I have no idea.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question