Not a valid Win32 FileTime

This topic contains 1 reply, has 2 voices, and was last updated by  Max Kozlov 1 year, 7 months ago.

  • Author
  • #55846

    Jeff Taylor

    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

  • #55852

    Max Kozlov

    some time ago I see PwdLastSet as -1 (7fffff..)

    [datetime]::FromFileTime(-1) give this error

You must be logged in to reply to this topic.