Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: PasswordLastSet subitem.add

$
0
0

First off I’d suggest testing that you are actually getting data back. Your syntax look right but just to be sure test
Get-QADUser -searchroot “OU=x,dc=x,dc=x” -locked -IncludedProperties PasswordLastSet | ft displayname, accountexpires, PasswordLastSet

Assuming you get data back my other suggestion would be to cast the date in PasswordLastSet to a string and see if that shows in your list


Viewing all articles
Browse latest Browse all 13067

Trending Articles