Not a valid Win32 FileTime

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Max Kozlov Max Kozlov 1 month, 2 weeks ago.

  • Author
    Posts
  • #55846
    Profile photo of Jeff Taylor
    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
    Profile photo of Max Kozlov
    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.