Get-ADUser vs. Search-ADAccount

Can anyone tell me what the difference is between Get-ADuser vs. Search-ADAccount?

Search- has different criteria it accepts, and it’s sometimes faster. Also, I don’t think Search-ADUser existed in the original module release, which is why there’s some functional overlap.

Search-ADAccount will get user, computer or service accounts for the following criteria:
AccountDisabled
AccountExpired
AccountExpiring
AccountInactive
LockedOut
PasswordExpired
PasswordNeverExpires

Get-AdUser returns user accounts that meet the supplied filter

Get-ADuser is what uou use to work with user accounts. Search-ADaccount is more for finding accounts with specific issues. Reading the detailed description on the 2 help files will give you further data

Thanks Richard and Don, I appreciate the explanations! I couldn’t find the answer on the Internet anywhere. Have a good day!