Not a valid Win32 FileTime

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

  • Author
    Posts
  • #55846

    Jeff Taylor
    Participant

    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
    Participant

    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.