Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

LastLogonTimeStamp Wrong Value

$
0
0

I have the following query:

Get-ADComputer -Filter * -Properties * | 
    Select-Object Name,@{n='lastLogonTimestamp';e={[DateTime]::FromFileTime($_.lastLogonTimestamp).ToString("dd/MM/yyyy")}}

This is my output:

Name lastLogonTimestamp

--------------------------------------

Device-1 06/10/2099

Device-2 14/07/2016

Device-3 03/07/2034

I have 6 domain controllers and only one domain, I run this query in this DCs and the output is the same in all server.

Why I have devices with dates over 2034 and 2099 !?


Jimcesse
Principal: http://sysadmin-cr.com/
Alterno: http://blogs.itpro.es/jimcesse


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>