Forum Discussion

Marvin Oco's avatar
Marvin Oco
Steel Contributor
Mar 05, 2021

How do we disable users with expired AD password with exception from AD OU?

We have script below that disables AD users with expired password

 

Get-ADUser -Filter * -Properties PasswordExpired |

Where-Object PasswordExpired  | Disable-ADAccount

 

How do we disable users with expired password AD with exception from AD OU?

 

Thanks

No RepliesBe the first to reply

Resources