Welcome › Forums › General PowerShell Q&A › Not a valid Win32 FileTime
This topic contains 1 reply, has 2 voices, and was last updated by
Ever seen this error?
Search-ADAccount -AccountInactive -Credential $creds |measure
Search-ADAccount : Not a valid Win32 FileTime.
I get it for -AccountDisabled parameter as well
some time ago I see PwdLastSet as -1 (7fffff..)
[datetime]::FromFileTime(-1) give this error
The topic ‘Not a valid Win32 FileTime’ is closed to new replies.